Sha256: d5de633203beb9f97705dc924c8387ff928d822a535d11a8e393b32869233155

Contents?: true

Size: 188 Bytes

Versions: 1

Compression:

Stored size: 188 Bytes

Contents

class CsvExtended < Roo::CSV

  def foreach(sheet = nil, &block)
    index = 1
    CSV.foreach(@filename, col_sep: ",") do |row|
      yield(row, index)
      index += 1
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple-spreadsheet-0.3.1 lib/simple-spreadsheet/classes/csv_extended.rb