Class: ROXMLDiff
- Inherits:
-
Object
- Object
- ROXMLDiff
- Defined in:
- lib/roundtrip_xml/extractor.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#obj_val ⇒ Object
readonly
Returns the value of attribute obj_val.
-
#template_val ⇒ Object
readonly
Returns the value of attribute template_val.
Instance Method Summary collapse
-
#initialize(key, obj_val, template_val) ⇒ ROXMLDiff
constructor
A new instance of ROXMLDiff.
Constructor Details
#initialize(key, obj_val, template_val) ⇒ ROXMLDiff
Returns a new instance of ROXMLDiff.
123 124 125 126 127 |
# File 'lib/roundtrip_xml/extractor.rb', line 123 def initialize(key, obj_val, template_val) @key = key.to_sym @obj_val = obj_val @template_val = template_val end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
122 123 124 |
# File 'lib/roundtrip_xml/extractor.rb', line 122 def key @key end |
#obj_val ⇒ Object (readonly)
Returns the value of attribute obj_val.
122 123 124 |
# File 'lib/roundtrip_xml/extractor.rb', line 122 def obj_val @obj_val end |
#template_val ⇒ Object (readonly)
Returns the value of attribute template_val.
122 123 124 |
# File 'lib/roundtrip_xml/extractor.rb', line 122 def template_val @template_val end |