lib/io_streams/row/writer.rb in iostreams-1.0.0.beta7 vs lib/io_streams/row/writer.rb in iostreams-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
require 'csv'
module IOStreams
module Row
# Example:
- # IOStreams.path("file.csv").row_writer do |stream|
+ # IOStreams.path("file.csv").writer(:array) do |stream|
# stream << ['name', 'address', 'zipcode']
# stream << ['Jack', 'Somewhere', 12345]
# stream << ['Joe', 'Lost', 32443]
# end
class Writer < IOStreams::Writer