Module: Duxml::NewAttr
- Included in:
- NewAttrClass
- Defined in:
- lib/duxml/meta/history/new_attr.rb,
lib/duxml/meta/history/new_attr.rb
Instance Method Summary collapse
-
#description ⇒ String
Self description.
-
#value ⇒ String
Value of the new attribute.
Instance Method Details
#description ⇒ String
Returns self description.
29 30 31 |
# File 'lib/duxml/meta/history/new_attr.rb', line 29 def description "#{super} #{subject.description} given new attribute '#{attr_name}' with value '#{value}'." end |
#value ⇒ String
Returns value of the new attribute.
24 25 26 |
# File 'lib/duxml/meta/history/new_attr.rb', line 24 def value subject[attr_name] end |