Registry / utility / undo
library1.0.0rbrubygemsunverified

Lightweight library to restore previous object state, works with Rails and plain Ruby.

gem install undo
INSTALL
IMPORT
SIG · UNDO
U
undo
utilityrubyv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Undo
require 'undo'

Save and restore object state using Undo.

require 'undo' obj = Undo::Object.new obj.save_state obj.change obj.undo # restores previous state
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
undo — gem install undo · libregistry