class Tablo::Row
- Tablo::Row
- Reference
- Object
Included Modules
- Enumerable(Bool | Char | Float32 | Float64 | Int16 | Int32 | Int64 | Int8 | String | Symbol | UInt16 | UInt32 | UInt64 | UInt8)
Defined in:
row.crConstructors
-
.new(table : Table, source : Array(CellType), idx : Int32, with_header : Bool = true)
Creates a new instance of a
Row
Instance Method Summary
-
#each(&)
Calls the given block once for each cell(column) in the
Row
, passing that cell value as parameter. -
#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)
Constructor Detail
Creates a new instance of a Row
Instance Method Detail
def 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.