class

Tui::Table

Inherits Reference < Object

Constants

GAP = 2
GUTTER = 3

Constructors

fit(columns : Array(Column), rows : Array(Array(String)), term_width : Int32, gutter : Bool = false) : Table
Source
new(columns : Array(Column), widths : Array(Int32), gutter : Bool)
Source

Instance methods

columns
Source
gutter?
Source
header(glyph : String = "", glyph_color : String | Nil = nil) : String
Source
row(cells : Array(String), glyph : String = "", glyph_color : String | Nil = nil, &block : String, Int32 -> String) : String
Source
row(cells : Array(String), glyph : String = "", glyph_color : String | Nil = nil) : String
Source
total
Source
widths
Source

Nested types