Module: CSVImportable::CSVCoercion

Included in:
CSVImporter, RowImporter
Defined in:
lib/csv_importable/csv_coercion.rb

Instance Method Summary collapse

Instance Method Details

#boolean_type_classObject



11
12
13
# File 'lib/csv_importable/csv_coercion.rb', line 11

def boolean_type_class
  CSVImportable::TypeParser::BooleanTypeParser
end

#date_type_classObject



7
8
9
# File 'lib/csv_importable/csv_coercion.rb', line 7

def date_type_class
  CSVImportable::TypeParser::DateTypeParser
end

#float_type_classObject



19
20
21
# File 'lib/csv_importable/csv_coercion.rb', line 19

def float_type_class
  CSVImportable::TypeParser::FloatTypeParser
end

#integer_type_classObject



15
16
17
# File 'lib/csv_importable/csv_coercion.rb', line 15

def integer_type_class
  CSVImportable::TypeParser::IntegerTypeParser
end

#percent_type_classObject



23
24
25
# File 'lib/csv_importable/csv_coercion.rb', line 23

def percent_type_class
  CSVImportable::TypeParser::PercentTypeParser
end

#select_type_classObject



27
28
29
# File 'lib/csv_importable/csv_coercion.rb', line 27

def select_type_class
  CSVImportable::TypeParser::SelectTypeParser
end

#string_type_classObject



3
4
5
# File 'lib/csv_importable/csv_coercion.rb', line 3

def string_type_class
  CSVImportable::TypeParser::StringTypeParser
end