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.
187 188 189 190 191 192 193 |
# File 'lib/roundtrip_xml/extractor.rb', line 187 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.
186 187 188 |
# File 'lib/roundtrip_xml/extractor.rb', line 186 def key @key end |
#matcher ⇒ Object (readonly)
Returns the value of attribute matcher.
186 187 188 |
# File 'lib/roundtrip_xml/extractor.rb', line 186 def matcher @matcher end |
#obj_val ⇒ Object (readonly)
Returns the value of attribute obj_val.
186 187 188 |
# File 'lib/roundtrip_xml/extractor.rb', line 186 def obj_val @obj_val end |
#operation ⇒ Object (readonly)
Returns the value of attribute operation.
186 187 188 |
# File 'lib/roundtrip_xml/extractor.rb', line 186 def operation @operation end |
#template_val ⇒ Object (readonly)
Returns the value of attribute template_val.
186 187 188 |
# File 'lib/roundtrip_xml/extractor.rb', line 186 def template_val @template_val end |