Class: FasterCSV::FieldInfo
- Inherits:
-
Struct
- Object
- Struct
- FasterCSV::FieldInfo
- Defined in:
- lib/faster_csv.rb
Overview
A FieldInfo Struct contains details about a field’s position in the data source it was read from. FasterCSV will pass this Struct to some blocks that make decisions based on field structure. See FasterCSV.convert_fields() for an example.
index: | The zero-based index of the field in its row. |
line: | The line of the data source this row is from. |
header: | The header for the column, when available. |
Instance Attribute Summary
Instance Attribute Details
- (Object) header
- (Object) index
- (Object) line