class Column

Defined in:

crystal_fmt/column.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(strings : Array(String?) = Array(String | Nil).new, padding : Symbol = :right) #

[View source]

Instance Method Detail

def <<(string) #

[View source]
def formatted(padding : Symbol = @padding) : Array(String) #

[View source]
def insert(str : String, row_idx : Int32) #

[View source]
def max_width #

[View source]
def padding : Symbol #

[View source]
def padding=(padding) #

[View source]
def size : Int32 #

[View source]
def strings : Array(String?) #

[View source]
def width : Int32 #

[View source]