struct Tallboy::Row

Included Modules

Defined in:

tallboy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cells : Array(Tallboy::Cell) = [] of Cell, border : Border = :none) #

[View source]

Instance Method Detail

def [](idx) #

[View source]
def border : Tallboy::Border #

[View source]
def cell(value, span : Int32 = 1, align : AlignValue = AlignOption::Auto) #

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

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

Must yield this collection's elements to the block.


[View source]
def size #
Description copied from module Enumerable(Tallboy::Cell)

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4

[View source]