class
Sheen::Table::StringData
- Sheen::Table::StringData
- Sheen::Table::Data
- Reference
- Object
Overview
A Data backed by a mutable matrix of strings.
Defined in:
sheen/table.crConstructors
Instance Method Summary
-
#append(row : Array(String)) : StringData
Appends row, widening the column count if needed.
-
#at(row : Int32, cell : Int32) : String
The cell at (row, cell), or "" when out of range.
-
#columns : Int32
The number of columns.
-
#item(*cells : String) : StringData
Appends a row built from cells.
-
#rows : Int32
The number of rows
Instance methods inherited from class Sheen::Table::Data
at(row : Int32, cell : Int32) : String
at,
columns : Int32
columns,
rows : Int32
rows
Constructor Detail
Instance Method Detail
def append(row : Array(String)) : StringData
#
Appends row, widening the column count if needed.
Returns self