Flowdock
method

revert

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: CommandRecorder
revert() public

While executing the given block, the recorded will be in reverting mode. All commands recorded will end up being recorded reverted and in reverse order. For example:

recorder.revert{ recorder.record(:rename_table, [:old, :new]) }
# same effect as recorder.record(:rename_table, [:new, :old])
Show source
Register or log in to add new notes.