struct

CSV2::Reader::Row

Inherits Struct < Value < Object

A row of a Reader instance.

Constructors

new(reader : CSV2::Reader, row : Array(String))
Source

Instance methods

[](header : String) : String
Source
[](column : Int) : String
Source
[](header_pattern : Regex, *, options : Regex::MatchOptions = Regex::MatchOptions::None) : String
Source
[]?(header : String) : String | Nil
Source
[]?(column : Int) : String | Nil
Source
[]?(header_pattern : Regex, *, options : Regex::MatchOptions = Regex::MatchOptions::None) : String | Nil
Source
size
Source
to_a
Source
to_h
Source
values_at(*columns : Int)
Source
values_at(*headers : String)
Source