Class: Duxml::RemoveClass
- Inherits:
-
ChangeClass
- Object
- PatternClass
- ChangeClass
- Duxml::RemoveClass
- Includes:
- Remove
- Defined in:
- lib/duxml/meta/history/remove.rb
Overview
created when doc loses a child
Instance Attribute Summary collapse
-
#removed ⇒ Object
(also: #object)
readonly
Returns the value of attribute removed.
Attributes inherited from ChangeClass
Attributes inherited from PatternClass
Attributes included from Duxml
Attributes included from Saxer
Instance Method Summary collapse
-
#initialize(_subject, _child) ⇒ RemoveClass
constructor
A new instance of RemoveClass.
Methods included from Remove
Methods included from Change
#<=>, #abstract?, #description, #line
Methods included from Pattern
#<=>, #abstract?, #concrete?, #description, #name, #relationship, #simple_name, #xml
Methods included from Duxml
Methods included from Saxer
Constructor Details
#initialize(_subject, _child) ⇒ RemoveClass
Returns a new instance of RemoveClass.
13 14 15 16 |
# File 'lib/duxml/meta/history/remove.rb', line 13 def initialize(_subject, _child) super(_subject) @removed = _child end |
Instance Attribute Details
#removed ⇒ Object (readonly) Also known as: object
Returns the value of attribute removed.
18 19 20 |
# File 'lib/duxml/meta/history/remove.rb', line 18 def removed @removed end |