Class: Tb::NumericCSVWriter
- Inherits:
-
NumericWriter
- Object
- NumericWriter
- Tb::NumericCSVWriter
- Defined in:
- lib/tb/csv.rb
Instance Method Summary collapse
-
#initialize(io) ⇒ NumericCSVWriter
constructor
io is an object which has “<<” method.
Methods inherited from NumericWriter
#finish, #header_generator=, #header_required?, #put_hash
Constructor Details
#initialize(io) ⇒ NumericCSVWriter
io is an object which has “<<” method.
61 62 63 |
# File 'lib/tb/csv.rb', line 61 def initialize(io) super lambda {|ary| io << ary.to_csv } end |