lib/rio/ext/csv.rb in rio-0.3.9 vs lib/rio/ext/csv.rb in rio-0.4.0

- old
+ new

@@ -206,10 +206,14 @@ unless copying_from? fields.extend(RIO::Ext::CSV::Ary) fields.csv_rec_to_s = _rec_to_s_proc(fs,rs) end end - fields +# p "csv#fields: #{fields}" +# fields.each do |f| +# p f +# end + fields.map{ |f| f.to_s } end def cnames(num) @cnames ||= trim((0...num).map { |n| "Col#{n}" }) end