lib/gogo_csv.rb in gogo_csv-0.0.5 vs lib/gogo_csv.rb in gogo_csv-0.0.6

- old
+ new

@@ -4,11 +4,11 @@ module GogoCsv require 'csv' require 'matrix' - def _(path, format=:arys) + def _(path='./input.csv', format=:arys) $current_path = path arys = CSV.read( File.expand_path(path) ) @@ -16,7 +16,9 @@ when :matrix then Matrix[*arys] when :arys then arys end end end + +@arys = _ include GogoCsv