class Tallboy::ColumnDefinitions

Included Modules

Defined in:

tallboy/table_builder/column_definitions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(column_count : Int32) #

[View source]
def self.new(columns : Array(Tallboy::ColumnDefinition) = [] of ColumnDefinition) #

[View source]

Instance Method Detail

def add(name, width : WidthValue = WidthOption::Auto, align : AlignValue = :auto) #

[View source]
def columns : Array(Tallboy::ColumnDefinition) #

[View source]
def each(&) #
Description copied from module Enumerable(Tallboy::ColumnDefinition)

Must yield this collection's elements to the block.


[View source]