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.
-
#matcher ⇒ Object
readonly
Returns the value of attribute matcher.
-
#obj_val ⇒ Object
readonly
Returns the value of attribute obj_val.
-
#operation ⇒ Object
readonly
Returns the value of attribute operation.
-
#template_val ⇒ Object
readonly
Returns the value of attribute template_val.
Instance Method Summary collapse
-
#initialize(operation, key, obj_val, template_val, matcher = nil) ⇒ ROXMLDiff
constructor
A new instance of ROXMLDiff.
Constructor Details
#initialize(operation, key, obj_val, template_val, matcher = nil) ⇒ ROXMLDiff
Returns a new instance of ROXMLDiff.
202 203 204 205 206 207 208 |
# File 'lib/roundtrip_xml/extractor.rb', line 202 def initialize(operation, key, obj_val, template_val, matcher = nil) @operation = operation @key = key.to_sym @obj_val = obj_val @template_val = template_val @matcher = matcher end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
201 202 203 |
# File 'lib/roundtrip_xml/extractor.rb', line 201 def key @key end |
#matcher ⇒ Object (readonly)
Returns the value of attribute matcher.
201 202 203 |
# File 'lib/roundtrip_xml/extractor.rb', line 201 def matcher @matcher end |
#obj_val ⇒ Object (readonly)
Returns the value of attribute obj_val.
201 202 203 |
# File 'lib/roundtrip_xml/extractor.rb', line 201 def obj_val @obj_val end |
#operation ⇒ Object (readonly)
Returns the value of attribute operation.
201 202 203 |
# File 'lib/roundtrip_xml/extractor.rb', line 201 def operation @operation end |
#template_val ⇒ Object (readonly)
Returns the value of attribute template_val.
201 202 203 |
# File 'lib/roundtrip_xml/extractor.rb', line 201 def template_val @template_val end |