class TerminalTable::Row

Direct Known Subclasses

Defined in:

terminal_table/row.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cells : Array(Cell) = [] of Cell) #

[View source]
def self.new(items : Array(CellValue)) #

[View source]

Instance Method Detail

def <<(cell : Cell) #

[View source]
def <<(cell_value : CellValue) #

[View source]
def cells : Array(TerminalTable::Cell) #

[View source]
def column_widths #

[View source]
def height #

[View source]
def number_of_columns #

[View source]
def render(widths = column_widths, style = Style.new, alignment = :left) #

[View source]