End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
CSV::Writer.new
new(output, options)
lib/csv/writer.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/csv/writer.rb, line 16
def initialize(output, options)
@output = output
@options = options
@lineno = 0
@fields_converter = nil
prepare
if @options[:write_headers] and @headers
self << @headers
end
@fields_converter = @options[:fields_converter]
end
No documentation available