Method: CSVModel::HeaderRow#column_index
- Defined in:
- lib/csv_model/header_row.rb
#column_index(key) ⇒ Object
23 24 25 |
# File 'lib/csv_model/header_row.rb', line 23 def column_index(key) column_keys.index(key.to_column_key) end |