Class: CSV::ET

Inherits:
ETL
  • Object
show all
Defined in:
lib/etl/csv_et.rb

Overview

Extract and transform for CSV files: in context (as a string), from a local file, or from a remote file. Uses FasterCSV and open-uri

Constant Summary

Constants inherited from ETL

ETL::VALID_CALLBACKS, ETL::VALID_STATES

Instance Attribute Summary collapse

Attributes inherited from ETL

#block, #data, #options, #raw, #state

Method Summary

Methods inherited from ETL

call, #initialize, logger, logger_filename, logger_root, logger_root=, process, #process, #reverse_to

Constructor Details

This class inherits a constructor from ETL

Instance Attribute Details

#headerObject (readonly)

Returns the value of attribute header.



10
11
12
# File 'lib/etl/csv_et.rb', line 10

def header
  @header
end