class CsvBuilder::Yielder
Public Class Methods
new(stream_proc)
click to toggle source
# File lib/csv_streamer/template_handler.rb, line 6 def initialize(stream_proc) @stream_proc = stream_proc end
Public Instance Methods
<<(data)
click to toggle source
# File lib/csv_streamer/template_handler.rb, line 25 def <<(data) @stream_proc.call data end
eof?()
click to toggle source
# File lib/csv_streamer/template_handler.rb, line 14 def eof? return true end
pos()
click to toggle source
# File lib/csv_streamer/template_handler.rb, line 10 def pos return 0 end
read(arg1)
click to toggle source
# File lib/csv_streamer/template_handler.rb, line 21 def read(arg1) return "\n" end
rewind()
click to toggle source
# File lib/csv_streamer/template_handler.rb, line 18 def rewind end