lib/bmg/reader/excel.rb in bmg-0.1.0 vs lib/bmg/reader/excel.rb in bmg-0.1.1
- old
+ new
@@ -12,10 +12,10 @@
@options = DEFAULT_OPTIONS.merge(options)
end
def each
require 'roo'
- xlsx = Roo::Spreadsheet.open(@path)
+ xlsx = Roo::Spreadsheet.open(@path, @options)
headers = nil
xlsx.sheet(0)
.each
.drop(@options[:skip])
.each_with_index
\ No newline at end of file