Sha256: ff782c4bbd3d6de942b7bec27127aa6102afbd7f9aae10b7d5f008e6bcd7f243
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
require "gogo_csv/version" require "gogo_csv/matrix" require "gogo_csv/array" module GogoCsv require 'csv' require 'matrix' def _(path='./input.csv', format=:arys) $current_path = path arys = CSV.read( File.expand_path(path) ) $original_csv = case format when :matrix then Matrix[*arys] when :arys then arys end end end @arys = _ include GogoCsv
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gogo_csv-0.0.6 | lib/gogo_csv.rb |