class AsciiTable

Defined in:

ascii_table.cr

Constant Summary

SINGLE_LINE_STYLE = {bottom_left: "└", bottom_right: "┘", bottom_vertical: "┴", horizontal: "─", intersection: "┼", left_horizontal: "├", right_horizontal: "┤", top_left: "┌", top_right: "┐", top_vertical: "┬", vertical: "│"}
VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(headers : Array(String), margin : Int32 = 1) #

[View source]

Instance Method Detail

def add_row(row) #

[View source]
def render(io = STDOUT, **options) #

[View source]