Skip to content

class Crystal::TablePrint
inherits Reference

Constants

CELL_MARGIN = ' '

COL_SEP = '|'

Class methods

.new(io : IO)

View source

Methods

#build

View source

#cell(text, align = :left, colspan = 1)

View source

#cell(align = :left, colspan = 1

View source

#columns : Array(Column)

View source

#columns=(columns : Array(Column))

View source

#last_string_row : Array(Cell)

#last_string_row=(last_string_row : Array(Cell))

View source

#last_string_row? : Array(Cell)?

#separator

View source