Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/csv/core_ext/string.rb
Instance Method Summary collapse
-
#parse_csv(**options) ⇒ Object
Equivalent to CSV::parse_line(self, options).
Instance Method Details
#parse_csv(**options) ⇒ Object
Equivalent to CSV::parse_line(self, options)
"CSV,data".parse_csv
#=> ["CSV", "data"]
6 7 8 |
# File 'lib/csv/core_ext/string.rb', line 6 def parse_csv(**) CSV.parse_line(self, **) end |