method

parse_line

ruby latest stable - Class: CSV
parse_line(line, **options)
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.