Sha256: 9df117fbaa729244e99eddb6b94e5f2ff41c1108c0b8028031464be741123761
Contents?: true
Size: 245 Bytes
Versions: 1
Compression:
Stored size: 245 Bytes
Contents
module GogoCsv class ::Matrix def save!(path=nil) raise 'Should supply file path' unless path ||= $path CSV.open(File.expand_path(path), "wb") do |csv| row_vectors.each { |v| csv << v.to_a } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gogo_csv-0.0.2 | lib/gogo_csv/matrix.rb |