Class: String

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#parse_csv(options = Hash.new) ⇒ Object

Equivalent to CSV::parse_line(self, options)

"CSV,data".parse_csv
  #=> ["CSV", "data"]

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

def parse_csv(options = Hash.new)
  CSV.parse_line(self, options)
end