class Array

Public Instance Methods

to_csv(**options) click to toggle source

Equivalent to CSV::generate_line(self, options)

["CSV", "data"].to_csv
  #=> "CSV,data\n"
# File lib/csv/core_ext/array.rb, line 6
def to_csv(**options)
  CSV.generate_line(self, **options)
end