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