Module: Duxml::Undo

Included in:
UndoClass
Defined in:
lib/duxml/meta/history/undo.rb,
lib/duxml/meta/history/undo.rb

Overview

TODO NOT IMPLEMENTED YET!!!

Instance Method Summary collapse

Instance Method Details

#descriptionObject



15
16
17
# File 'lib/duxml/meta/history/undo.rb', line 15

def description
  "#{super} change '#{subject.id}' undone."
end

#undone_changeObject

returns previous change instance that was undone



20
21
22
# File 'lib/duxml/meta/history/undo.rb', line 20

def undone_change
  self[:change]
end