Method: Remi::DataSource::CsvFile#headers
- Defined in:
- lib/remi/data_source/csv_file.rb
#headers ⇒ Object
70 71 72 |
# File 'lib/remi/data_source/csv_file.rb', line 70 def headers @headers ||= CSV.open(source_filename, 'r', ) { |csv| csv.first }.headers end |