Module: Duxml::Add
- Included in:
- AddClass
- Defined in:
- lib/duxml/meta/history/add.rb,
lib/duxml/meta/history/add.rb
Instance Method Summary collapse
- #child ⇒ Object (also: #object)
- #description ⇒ Object
- #parent ⇒ Object
Instance Method Details
#child ⇒ Object Also known as: object
30 31 32 |
# File 'lib/duxml/meta/history/add.rb', line 30 def child subject.nodes[index] end |
#description ⇒ Object
22 23 24 |
# File 'lib/duxml/meta/history/add.rb', line 22 def description %(#{super} #{child.description} added to #{parent.description}.) end |
#parent ⇒ Object
26 27 28 |
# File 'lib/duxml/meta/history/add.rb', line 26 def parent subject end |