Module: CsvMapper

Defined in:
lib/csv_mapper.rb,
lib/csv_mapper/engine.rb,
lib/csv_mapper/version.rb,
lib/csv_mapper/controller_actions.rb

Defined Under Namespace

Modules: ControllerActions Classes: Engine, FileHandler, Importer, InconsistentStateError, MissingFileContentsError, Reader

Constant Summary collapse

VERSION =
"0.0.2"
@@options =
{
  :col_sep => ";",
  :row_sep => :auto,
  :quote_char => '"',
  :converters => nil,
  :unconverted_fields => nil,
  :headers => false,
  :return_headers => false,
  :header_converters => nil,
  :skip_blanks => false,
  :force_quotes => false
}.freeze

Class Method Summary collapse

Class Method Details

.optionsObject



29
30
31
# File 'lib/csv_mapper.rb', line 29

def self.options
  @@options
end

.options=(options) ⇒ Object



33
34
35
# File 'lib/csv_mapper.rb', line 33

def self.options=(options)
  @@options = options
end