class TerminalTable::Table
- TerminalTable::Table
- Reference
- Object
Defined in:
terminal_table.crConstructors
Instance Method Summary
- #get_lengthes
- #row_component(row, is_header)
- #row_line_component
- #string_duplicate(times)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
def self.new(rows : Array(Array(Int32 | String)), enable_separator : Bool = true, header : Array(String) = [] of String, corner_char : String = "+", row_char : String = "-", col_char : String = "|")
#
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.