Method: CSV::Row#headers
- Defined in:
- lib/csv/row.rb
#headers ⇒ Object
160 161 162 |
# File 'lib/csv/row.rb', line 160 def headers @row.map(&:first) end |
160 161 162 |
# File 'lib/csv/row.rb', line 160 def headers @row.map(&:first) end |