Class: CSVImportable::TypeParser::FloatTypeParser
- Inherits:
-
CSVImportable::TypeParser
- Object
- CSVImportable::TypeParser
- CSVImportable::TypeParser::FloatTypeParser
- Defined in:
- lib/csv_importable/type_parser/float_type_parser.rb
Instance Attribute Summary
Attributes inherited from CSVImportable::TypeParser
Instance Method Summary collapse
Methods inherited from CSVImportable::TypeParser
Constructor Details
This class inherits a constructor from CSVImportable::TypeParser
Instance Method Details
#error_message ⇒ Object
7 8 9 |
# File 'lib/csv_importable/type_parser/float_type_parser.rb', line 7 def "Invalid decimal for column: #{key}" end |
#parse_val ⇒ Object
3 4 5 |
# File 'lib/csv_importable/type_parser/float_type_parser.rb', line 3 def parse_val Float(value) end |