Class: ETL::Parser::XmlParser::Field
- Defined in:
- lib/etl/parser/xml_parser.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#xpath ⇒ Object
readonly
Returns the value of attribute xpath.
Instance Method Summary collapse
-
#initialize(name, xpath) ⇒ Field
constructor
A new instance of Field.
Constructor Details
#initialize(name, xpath) ⇒ Field
Returns a new instance of Field.
58 59 60 61 |
# File 'lib/etl/parser/xml_parser.rb', line 58 def initialize(name, xpath) @name = name @xpath = xpath end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
57 58 59 |
# File 'lib/etl/parser/xml_parser.rb', line 57 def name @name end |
#xpath ⇒ Object (readonly)
Returns the value of attribute xpath.
57 58 59 |
# File 'lib/etl/parser/xml_parser.rb', line 57 def xpath @xpath end |