module Tablo::Config

Overview

The Config module define global properties. These properties are mutable and are applicable to all Table instantiations that follow.

Defined in:

config.cr

Class Method Summary

Class Method Detail

def self.body_alignment : Justify | Nil #

[View source]
def self.body_alignment=(body_alignment : Justify | Nil) #

[View source]
def self.body_formatter : DataCellFormatter #

[View source]
def self.body_formatter=(body_formatter : DataCellFormatter) #

[View source]
def self.body_styler : DataCellStyler #

[View source]
def self.body_styler=(body_styler : DataCellStyler) #

[View source]
def self.body_wrap : Int32 | Nil #

[View source]
def self.body_wrap=(body_wrap : Int32 | Nil) #

[View source]
def self.body_wrap_range : Range(Int32, Int32) #

[View source]
def self.body_wrap_range=(body_wrap_range : Range(Int32, Int32)) #

[View source]
def self.border : Border #

[View source]
def self.border=(border : Border) #

[View source]
def self.border_styler : BorderStyler #

[View source]
def self.border_styler=(border_styler : BorderStyler) #

[View source]
def self.border_type : String | BorderName #

[View source]
def self.border_type=(border_type : String | BorderName) #

[View source]
def self.column_width_range : Range(Int32, Int32) #

[View source]
def self.column_width_range=(column_width_range : Range(Int32, Int32)) #

[View source]
def self.footer : Footer #

[View source]
def self.footer=(footer : Footer) #

[View source]
def self.group_alignment : Justify #

[View source]
def self.group_alignment=(group_alignment : Justify) #

[View source]
def self.group_formatter : TextCellFormatter #

[View source]
def self.group_formatter=(group_formatter : TextCellFormatter) #

[View source]
def self.group_styler : TextCellStyler #

[View source]
def self.group_styler=(group_styler : TextCellStyler) #

[View source]
def self.header_alignment : Justify | Nil #

[View source]
def self.header_alignment=(header_alignment : Justify | Nil) #

[View source]
def self.header_formatter : DataCellFormatter #

[View source]
def self.header_formatter=(header_formatter : DataCellFormatter) #

[View source]
def self.header_frequency : Int32 | Nil #

[View source]
def self.header_frequency=(header_frequency : Int32 | Nil) #

[View source]
def self.header_frequency_range : Range(Int32, Int32) #

[View source]
def self.header_frequency_range=(header_frequency_range : Range(Int32, Int32)) #

[View source]
def self.header_styler : DataCellStyler #

[View source]
def self.header_styler=(header_styler : DataCellStyler) #

[View source]
def self.header_wrap : Int32 | Nil #

[View source]
def self.header_wrap=(header_wrap : Int32 | Nil) #

[View source]
def self.header_wrap_range : Range(Int32, Int32) #

[View source]
def self.header_wrap_range=(header_wrap_range : Range(Int32, Int32)) #

[View source]
def self.heading_alignment : Justify #

[View source]
def self.heading_alignment=(heading_alignment : Justify) #

[View source]
def self.heading_formatter : TextCellFormatter #

[View source]
def self.heading_formatter=(heading_formatter : TextCellFormatter) #

[View source]
def self.heading_styler : TextCellStyler #

[View source]
def self.heading_styler=(heading_styler : TextCellStyler) #

[View source]
def self.left_padding : Int32 #

[View source]
def self.left_padding=(left_padding : Int32) #

[View source]
def self.line_breaks_range : Range(Int32, Int32) #

[View source]
def self.line_breaks_range=(line_breaks_range : Range(Int32, Int32)) #

[View source]
def self.masked_headers=(masked_headers : Bool) #

[View source]
def self.masked_headers? : Bool #

[View source]
def self.omit_group_header_rule=(omit_group_header_rule : Bool) #

[View source]
def self.omit_group_header_rule? : Bool #

[View source]
def self.omit_last_rule=(omit_last_rule : Bool) #

[View source]
def self.omit_last_rule? : Bool #

[View source]
def self.pack_autosize=(pack_autosize : Bool) #

[View source]
def self.pack_autosize? : Bool #

[View source]
def self.padding_character : String #

[View source]
def self.padding_character=(padding_character : String) #

[View source]
def self.padding_width_range : Range(Int32, Int32) #

-------------- Control values for Table and Column initialize ----------------


[View source]
def self.padding_width_range=(padding_width_range : Range(Int32, Int32)) #

-------------- Control values for Table and Column initialize ----------------


[View source]
def self.right_padding : Int32 #

[View source]
def self.right_padding=(right_padding : Int32) #

[View source]
def self.row_divider_frequency : Int32 | Nil #

[View source]
def self.row_divider_frequency=(row_divider_frequency : Int32 | Nil) #

[View source]
def self.row_divider_frequency_range : Range(Int32, Int32) #

[View source]
def self.row_divider_frequency_range=(row_divider_frequency_range : Range(Int32, Int32)) #

[View source]
def self.starting_widths : StartingWidths #

[View source]
def self.starting_widths=(starting_widths : StartingWidths) #

[View source]
def self.styler_tty_only=(styler_tty_only : Bool) #

get/set control table styling when output is redirected to a file.

  • true : no styling
  • false : styling allowed

[View source]
def self.styler_tty_only? : Bool #

get/set control table styling when output is redirected to a file.

  • true : no styling
  • false : styling allowed

[View source]
def self.subtitle : SubTitle #

[View source]
def self.subtitle=(subtitle : SubTitle) #

[View source]
def self.terminal_capped_width=(terminal_capped_width : Bool) #

get/set control table width to be capped by terminal width.

  • true : table width is capped to terminal size
  • false : terminal size is ignored

[View source]
def self.terminal_capped_width? : Bool #

get/set control table width to be capped by terminal width.

  • true : table width is capped to terminal size
  • false : terminal size is ignored

[View source]
def self.title : Title #

-------------- Default values for Table initialize method --------------------


[View source]
def self.title=(title : Title) #

-------------- Default values for Table initialize method --------------------


[View source]
def self.truncation_indicator : String #

[View source]
def self.truncation_indicator=(truncation_indicator : String) #

[View source]
def self.width : Int32 #

[View source]
def self.width=(width : Int32) #

[View source]
def self.wrap_mode : WrapMode #

[View source]
def self.wrap_mode=(wrap_mode : WrapMode) #

[View source]