Method: CSV::Row#to_csv
- Defined in:
- lib/csv.rb
#to_csv(options = Hash.new) ⇒ Object Also known as: to_s
Returns the row as a CSV String. Headers are not used. Equivalent to:
csv_row.fields.to_csv( )
538 539 540 |
# File 'lib/csv.rb', line 538 def to_csv( = Hash.new) fields.to_csv() end |