Module: CsvOmg

Defined in:
lib/csv-omg.rb,
lib/csv-omg/version.rb

Defined Under Namespace

Modules: ClassMethods Classes: Column

Constant Summary collapse

Version =
VERSION = "1.1.8"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/csv-omg.rb', line 18

def self.included(base)
  base.instance_variable_set("@_columns", {})
  base.instance_variable_set("@_parser_options", {
                              :headers      => true, 
                              :skip_blanks  => true
                            })
  base.extend ClassMethods
end