Tablo::Row
Inherits Enumerable < Reference < Object
Constructors
new(table : Table, source : Array(CellType), idx : Int32, with_header : Bool = true)
Creates a new instance of a Row
Instance methods
each
Calls the given block once for each cell(column) in the Row, passing
that cell value as parameter. Each "cell" is just the calculated value
for its column (pre-formatting) for this Row's source item.
to_h
Returns a Hash representation of the Row, with column labels acting
as keys and the calculated cell values (before formatting) providing the values.
to_s(io)
Returns a string being an "ASCII" graphical representation of the Row,
including any column headers that appear just above it in the Table
(depending on where this Row is in the Table and how the Table was
configured with respect to header frequency).