Class: Parxer::CsvParser
- Inherits:
-
BaseParser
- Object
- BaseParser
- Parxer::CsvParser
- Defined in:
- lib/parxer/parsers/csv_parser.rb
Instance Attribute Summary
Attributes inherited from BaseParser
#attribute, #file, #prev_row, #row, #value
Instance Method Summary collapse
Methods inherited from BaseParser
#extract_raw_attr_value, #file_extension, #header, #rows_count, #run
Methods included from InheritedResource
#for_each_ancestor_with_method, #inherited_collection, #inherited_hash, #object_ancestors
Instance Method Details
#csv ⇒ Object
9 10 11 |
# File 'lib/parxer/parsers/csv_parser.rb', line 9 def csv @csv ||= Roo::CSV.new(file, csv_options: parser_config) end |
#raw_rows ⇒ Object
5 6 7 |
# File 'lib/parxer/parsers/csv_parser.rb', line 5 def raw_rows csv end |