Class: ETL::Parser::NokogiriXmlParser::Field
- Defined in:
- lib/etl/parser/nokogiri_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.
76 77 78 79 |
# File 'lib/etl/parser/nokogiri_xml_parser.rb', line 76 def initialize(name, xpath) @name = name @xpath = xpath end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
75 76 77 |
# File 'lib/etl/parser/nokogiri_xml_parser.rb', line 75 def name @name end |
#xpath ⇒ Object (readonly)
Returns the value of attribute xpath.
75 76 77 |
# File 'lib/etl/parser/nokogiri_xml_parser.rb', line 75 def xpath @xpath end |