class

CSV2::Reader::Parser

Inherits Reference < Object

A fast RFC 4180 parser over a memory-mapped file or an in-memory String.

Constructors

new(string_or_io : String | IO, separator : Char = DEFAULT_SEPARATOR, quote_char : Char = DEFAULT_QUOTE_CHAR)
Source

Instance methods

each_row
Source
each_row
Source
next_row(array : Array(String)) : Array(String) | Nil
Source
next_row
Source
parse
Source
rewind
Source