Class: ImportEverything::XmlParser
- Defined in:
- lib/import_everything/parsers/xml_parser.rb
Defined Under Namespace
Classes: LineParser, TableParser
Instance Attribute Summary collapse
-
#root_path ⇒ Object
Returns the value of attribute root_path.
-
#table_paths ⇒ Object
Returns the value of attribute table_paths.
-
#xyz ⇒ Object
Returns the value of attribute xyz.
Instance Method Summary collapse
Methods inherited from Parser
#each_row, #each_table_and_rows, #line_parsers, #table_rows_hash
Instance Attribute Details
#root_path ⇒ Object
Returns the value of attribute root_path.
3 4 5 |
# File 'lib/import_everything/parsers/xml_parser.rb', line 3 def root_path @root_path end |
#table_paths ⇒ Object
Returns the value of attribute table_paths.
3 4 5 |
# File 'lib/import_everything/parsers/xml_parser.rb', line 3 def table_paths @table_paths end |
#xyz ⇒ Object
Returns the value of attribute xyz.
3 4 5 |
# File 'lib/import_everything/parsers/xml_parser.rb', line 3 def xyz @xyz end |
Instance Method Details
#required_fields ⇒ Object
14 15 16 |
# File 'lib/import_everything/parsers/xml_parser.rb', line 14 def required_fields [:root_path,:table_paths] end |