Class: ROXMLDiff

Inherits:
Object
  • Object
show all
Defined in:
lib/roundtrip_xml/extractor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



122
123
124
# File 'lib/roundtrip_xml/extractor.rb', line 122

def key
  @key
end

#obj_valObject (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_valObject (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