123456789_123456789_123456789_123456789_123456789_

Class: Array

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: lib/csv/core_ext/array.rb

Instance Method Summary

Instance Method Details

#to_csv(**options)

Equivalent to CSV.generate_line(self, options)

["CSV", "data"].to_csv
  #=> "CSV,data\n"
[ GitHub ]

  
# File 'lib/csv/core_ext/array.rb', line 6

def to_csv(**options)
  CSV.generate_line(self, options)
end