Hwaro::Logger::Table
Inherits Reference / Object
A small aligned table for list-style reports (hwaro tool list). Same
builder shape as Receipt: pure data → string, testable without a live
terminal. Columns are left-aligned to the widest cell (min: the header),
separated by a two-space gutter, on the 2-space margin grid. The header
is dim; per-cell roles let a column paint status words without callers
touching raw colors. Plain form is the same geometry minus paint, so
piped output columnizes identically.
Constructors
new(headers : Array(String))
SourceInstance methods
emit(io : IO = Logger.io) : Nil
Sourceempty?
Sourcerender_plain
Sourcerender_tty
Sourcerow(cells : Array(String), roles : Array(Role) | Nil = nil) : self
Source