method

new

v2_6_3 - Show latest stable - Class: CSV::Writer
new(output, options)
public

No documentation available.

# File lib/csv/writer.rb, line 13
    def initialize(output, options)
      @output = output
      @options = options
      @lineno = 0
      prepare
      if @options[:write_headers] and @headers
        self << @headers
      end
      @fields_converter = @options[:fields_converter]
    end