class String

Public Instance Methods

parse_csv(**options) click to toggle source

Equivalent to CSV::parse_line(self, options)

"CSV,data".parse_csv
  #=> ["CSV", "data"]
# File lib/csv/core_ext/string.rb, line 6
def parse_csv(**options)
  CSV.parse_line(self, **options)
end