Class: Duxml::NewAttrClass
- Inherits:
-
ChangeClass
- Object
- PatternClass
- ChangeClass
- Duxml::NewAttrClass
- Includes:
- NewAttr
- Defined in:
- lib/duxml/meta/history/new_attr.rb
Overview
created when doc gains a new attribute
Constant Summary
Constants included from Duxml
Constants included from Meta
Instance Attribute Summary collapse
-
#attr_name ⇒ Object
readonly
Returns the value of attribute attr_name.
Attributes inherited from ChangeClass
Attributes inherited from PatternClass
Attributes included from Duxml
Attributes included from Saxer
Instance Method Summary collapse
-
#initialize(_subject, _attr_name) ⇒ NewAttrClass
constructor
A new instance of NewAttrClass.
Methods included from NewAttr
Methods included from Change
#<=>, #abstract?, #description, #line
Methods included from Pattern
#<=>, #abstract?, #concrete?, #description, #name, #object, #relationship, #simple_name
Methods included from Duxml
#create, #load, #log, #relaxng, #save, #validate
Methods included from Meta
Methods included from Saxer
Constructor Details
#initialize(_subject, _attr_name) ⇒ NewAttrClass
Returns a new instance of NewAttrClass.
14 15 16 17 |
# File 'lib/duxml/meta/history/new_attr.rb', line 14 def initialize(_subject, _attr_name) super(_subject) @attr_name = _attr_name end |
Instance Attribute Details
#attr_name ⇒ Object (readonly)
Returns the value of attribute attr_name.
19 20 21 |
# File 'lib/duxml/meta/history/new_attr.rb', line 19 def attr_name @attr_name end |