parse_line(line, options = Hash.new)
public
This method is a shortcut for converting a single line of a CSV String into an Array. Note that if line contains multiple
rows, anything beyond the first row is ignored.
The options parameter can be anything CSV::new() understands.
Show source
def self.parse_line(line, options = Hash.new)
new(line, options).shift
end