class Tallboy::ComputedTable

Included Modules

Defined in:

tallboy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rows : Array(ComputedRow), border : Border) #

[View source]

Instance Method Detail

def border : Tallboy::Border #

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

Must yield this collection's elements to the block.


[View source]
def each_row(&) #

[View source]
def first #
Description copied from module Enumerable(Tallboy::ComputedRow)

Returns the first element in the collection. Raises Enumerable::EmptyError if the collection is empty.

([1, 2, 3]).first   # => 1
([] of Int32).first # raises Enumerable::EmptyError

[View source]
def last #

[View source]