Method: Remi::DataSource::CsvFile#headers

Defined in:
lib/remi/data_source/csv_file.rb

#headersObject



70
71
72
# File 'lib/remi/data_source/csv_file.rb', line 70

def headers
  @headers ||= CSV.open(source_filename, 'r', source_csv_options) { |csv| csv.first }.headers
end