Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/csv/core_ext/array.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#to_csv(**options) ⇒ Object
Equivalent to CSV::generate_line(self, options).
Instance Method Details
#to_csv(**options) ⇒ Object
Equivalent to CSV::generate_line(self, options)
["CSV", "data"].to_csv
#=> "CSV,data\n"
6 7 8 |
# File 'lib/csv/core_ext/array.rb', line 6 def to_csv(**) CSV.generate_line(self, ) end |