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.crClass Method Summary
- .body_alignment : Justify | Nil
- .body_alignment=(body_alignment : Justify | Nil)
- .body_formatter : DataCellFormatter
- .body_formatter=(body_formatter : DataCellFormatter)
- .body_styler : DataCellStyler
- .body_styler=(body_styler : DataCellStyler)
- .body_wrap : Int32 | Nil
- .body_wrap=(body_wrap : Int32 | Nil)
- .body_wrap_range : Range(Int32, Int32)
- .body_wrap_range=(body_wrap_range : Range(Int32, Int32))
- .border : Border
- .border=(border : Border)
- .border_styler : BorderStyler
- .border_styler=(border_styler : BorderStyler)
- .border_type : String | BorderName
- .border_type=(border_type : String | BorderName)
- .column_width_range : Range(Int32, Int32)
- .column_width_range=(column_width_range : Range(Int32, Int32))
- .footer : Footer
- .footer=(footer : Footer)
- .group_alignment : Justify
- .group_alignment=(group_alignment : Justify)
- .group_formatter : TextCellFormatter
- .group_formatter=(group_formatter : TextCellFormatter)
- .group_styler : TextCellStyler
- .group_styler=(group_styler : TextCellStyler)
- .header_alignment : Justify | Nil
- .header_alignment=(header_alignment : Justify | Nil)
- .header_formatter : DataCellFormatter
- .header_formatter=(header_formatter : DataCellFormatter)
- .header_frequency : Int32 | Nil
- .header_frequency=(header_frequency : Int32 | Nil)
- .header_frequency_range : Range(Int32, Int32)
- .header_frequency_range=(header_frequency_range : Range(Int32, Int32))
- .header_styler : DataCellStyler
- .header_styler=(header_styler : DataCellStyler)
- .header_wrap : Int32 | Nil
- .header_wrap=(header_wrap : Int32 | Nil)
- .header_wrap_range : Range(Int32, Int32)
- .header_wrap_range=(header_wrap_range : Range(Int32, Int32))
- .heading_alignment : Justify
- .heading_alignment=(heading_alignment : Justify)
- .heading_formatter : TextCellFormatter
- .heading_formatter=(heading_formatter : TextCellFormatter)
- .heading_styler : TextCellStyler
- .heading_styler=(heading_styler : TextCellStyler)
- .left_padding : Int32
- .left_padding=(left_padding : Int32)
- .line_breaks_range : Range(Int32, Int32)
- .line_breaks_range=(line_breaks_range : Range(Int32, Int32))
- .masked_headers=(masked_headers : Bool)
- .masked_headers? : Bool
- .omit_group_header_rule=(omit_group_header_rule : Bool)
- .omit_group_header_rule? : Bool
- .omit_last_rule=(omit_last_rule : Bool)
- .omit_last_rule? : Bool
- .pack_autosize=(pack_autosize : Bool)
- .pack_autosize? : Bool
- .padding_character : String
- .padding_character=(padding_character : String)
-
.padding_width_range : Range(Int32, Int32)
-------------- Control values for Table and Column initialize ----------------
-
.padding_width_range=(padding_width_range : Range(Int32, Int32))
-------------- Control values for Table and Column initialize ----------------
- .right_padding : Int32
- .right_padding=(right_padding : Int32)
- .row_divider_frequency : Int32 | Nil
- .row_divider_frequency=(row_divider_frequency : Int32 | Nil)
- .row_divider_frequency_range : Range(Int32, Int32)
- .row_divider_frequency_range=(row_divider_frequency_range : Range(Int32, Int32))
- .starting_widths : StartingWidths
- .starting_widths=(starting_widths : StartingWidths)
-
.styler_tty_only=(styler_tty_only : Bool)
get/set control table styling when output is redirected to a file.
-
.styler_tty_only? : Bool
get/set control table styling when output is redirected to a file.
- .subtitle : SubTitle
- .subtitle=(subtitle : SubTitle)
-
.terminal_capped_width=(terminal_capped_width : Bool)
get/set control table width to be capped by terminal width.
-
.terminal_capped_width? : Bool
get/set control table width to be capped by terminal width.
-
.title : Title
-------------- Default values for Table initialize method --------------------
-
.title=(title : Title)
-------------- Default values for Table initialize method --------------------
- .truncation_indicator : String
- .truncation_indicator=(truncation_indicator : String)
- .width : Int32
- .width=(width : Int32)
- .wrap_mode : WrapMode
- .wrap_mode=(wrap_mode : WrapMode)
Class Method Detail
-------------- Control values for Table and Column initialize ----------------
-------------- Control values for Table and Column initialize ----------------
get/set control table styling when output is redirected to a file.
true
: no stylingfalse
: styling allowed
get/set control table styling when output is redirected to a file.
true
: no stylingfalse
: styling allowed
get/set control table width to be capped by terminal width.
true
: table width is capped to terminal sizefalse
: terminal size is ignored
get/set control table width to be capped by terminal width.
true
: table width is capped to terminal sizefalse
: terminal size is ignored
-------------- Default values for Table initialize method --------------------
-------------- Default values for Table initialize method --------------------