lib/koine/csv/mapped_columns_parser.rb in koine-csv-0.2.1 vs lib/koine/csv/mapped_columns_parser.rb in koine-csv-0.2.2

- old
+ new

@@ -4,11 +4,12 @@ module Csv class MappedColumnsParser < CsvParser attr_reader :column_names def initialize(options = {}) - super(options) @column_names = options.fetch(:column_names) + options.delete(:column_names) + super(options) end def parse(contents, &block) mapped = [] CSV.parse(contents, parser_options) do |row|