lib/gogo_csv/matrix.rb in gogo_csv-0.0.2 vs lib/gogo_csv/matrix.rb in gogo_csv-0.0.3

- old
+ new

@@ -1,8 +1,8 @@ module GogoCsv class ::Matrix def save!(path=nil) - raise 'Should supply file path' unless path ||= $path + raise 'Should supply file path' unless path ||= $current_path CSV.open(File.expand_path(path), "wb") do |csv| row_vectors.each { |v| csv << v.to_a } end end end