lib/csv_shaper/encoder.rb in csv_shaper-1.3.1 vs lib/csv_shaper/encoder.rb in csv_shaper-1.3.2
- old
+ new
@@ -31,10 +31,10 @@
rows << CSV::Row.new(@header.mapped_columns, [], true)
end
table = CSV::Table.new(rows)
csv_options.except!(*custom_options.keys)
- table.to_csv(csv_options)
+ table.to_csv(**csv_options)
end
private
def options