Module: GogoCsv
- Defined in:
- lib/gogo_csv.rb,
lib/gogo_csv/array.rb,
lib/gogo_csv/matrix.rb,
lib/gogo_csv/version.rb
Constant Summary collapse
- VERSION =
"0.0.5"
Instance Method Summary collapse
Instance Method Details
#_(path, format = :arys) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/gogo_csv.rb', line 9 def _(path, format=:arys) $current_path = path arys = CSV.read( File.(path) ) $original_csv = case format when :matrix then Matrix[*arys] when :arys then arys end end |