method
get_row
v1_8_6_287 -
Show latest stable
- Class:
CSV::IOReader
get_row(row)private
No documentation available.
# File lib/csv.rb, line 636
def get_row(row)
parsed_cells, next_idx = CSV.parse_row(@dev, @idx, row, @fs, @rs)
if parsed_cells == 0 and next_idx == 0 and [email protected]_eos?
raise IllegalFormatError.new
end
dropped = @dev.drop(next_idx)
@idx = next_idx - dropped
parsed_cells
end