Sha256: 25153a356c1f147e81fd39832a4a16bae156b1458fec710cf47bf55846cc31bd
Contents?: true
Size: 263 Bytes
Versions: 4
Compression:
Stored size: 263 Bytes
Contents
class CsvExtended < Roo::CSV def initialize(path) super(path, csv_options: { col_sep: "," }) end def foreach(sheet = nil, &block) index = 1 CSV.foreach(@filename, csv_options) do |row| yield(row, index) index += 1 end end end
Version data entries
4 entries across 4 versions & 1 rubygems