Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/csv.rb

Instance Method Summary collapse

Instance Method Details

#to_csv(options = Hash.new) ⇒ Object

Equivalent to CSV::generate_line(self, options).



2346
2347
2348
# File 'lib/csv.rb', line 2346

def to_csv(options = Hash.new)
  CSV.generate_line(self, options)
end