class Tallboy::Table

Defined in:

tallboy/table.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Array(Array(CellValue)), rows : Array(Row) = [] of Row) #

[View source]

Instance Method Detail

def build_rows(data) #

[View source]
def column(index, align) #

[View source]
def column(index) #

[View source]
def column_count #

[View source]
def column_widths : Array(Int32) #

[View source]
def render(style : Style = Style.new) #

[View source]
def render(preset : Symbol = :ascii, row_separator = false, padding_size = 1) #

[View source]
def row(range : Range(Int32, Int32), layout : Array(Int32)) #

[View source]
def row(num, layout : Array(Int32)) #

[View source]
def row(range : Range(Int32, Int32), border_bottom : Bool) #

[View source]
def row(num, border_bottom : Bool) #

[View source]
def row(num) #

[View source]
def row_size_valid?(rows) #

[View source]
def rows : Array(Tallboy::Row) #

[View source]
def validate_data!(data) #

[View source]