class Schlepp::Sink::Filter::Formatter::Csv::Writer
Public Class Methods
new(writer, opts = {})
click to toggle source
# File lib/schlepp/sink/filter/formatter/csv/writer.rb, line 9 def initialize(writer, opts = {}) @writer = writer end
Public Instance Methods
finalize()
click to toggle source
# File lib/schlepp/sink/filter/formatter/csv/writer.rb, line 21 def finalize @writer.finalize end
rotate?()
click to toggle source
# File lib/schlepp/sink/filter/formatter/csv/writer.rb, line 17 def rotate? false end
write(rows)
click to toggle source
# File lib/schlepp/sink/filter/formatter/csv/writer.rb, line 13 def write(rows) @writer.write(rows.to_csv) end