module

Tablo::Config::Controls

Default control values for Table and/or Column initialization, with associated getters and setters.

Constants

BODY_WRAP_RANGE = 1..8

Default range of allowable values for body_wrap
Check is done by the Table#check_body_wrap private method, when initializing a Table.

COLUMN_WIDTH_RANGE = 1..128

Default range of allowable values for column width
Check is done by the Table#check_width private method, when initializing a Table.

HEADER_FREQUENCY_RANGE = 0..64

Default range of allowable values for header frequency
Check is done by the Table#check_header_frequency private method, when initializing a Table.

HEADER_WRAP_RANGE = 1..8

Default range of allowable values for header_wrap
Check is done by the Table#check_header_wrap private method, when initializing a Table.

LINE_BREAKS_RANGE = 0..8

Default range of allowable values for line_breaks_before and line_breaks_after attributes
Check is done in 'Tablo::Frame` struct

PADDING_WIDTH_RANGE = 0..8

Default range of allowable values for paddings (left or right)
Check is done by the Table#check_padding private method, when initializing a Table or Column.

ROUNDING_RANGE = -8..8

Default range of allowable values for rounding in Tablo::Functions.fp_align
Check is done inside Tablo::Functions.fp_align method

ROW_DIVIDER_FREQUENCY_RANGE = 1..8

Default range of allowable values for row_divider_frequency
Check is done by the Table#check_row_divider_frequency private method, when initializing a Table.

Class methods

body_wrap_range

See BODY_WRAP_RANGE

Source
body_wrap_range=(body_wrap_range : Range(Int32, Int32))

See BODY_WRAP_RANGE

Source
column_width_range

See COLUMN_WIDTH_RANGE

Source
column_width_range=(column_width_range : Range(Int32, Int32))

See COLUMN_WIDTH_RANGE

Source
header_frequency_range

See HEADER_FREQUENCY_RANGE

Source
header_frequency_range=(header_frequency_range : Range(Int32, Int32))

See HEADER_FREQUENCY_RANGE

Source
header_wrap_range

See HEADER_WRAP_RANGE

Source
header_wrap_range=(header_wrap_range : Range(Int32, Int32))

See HEADER_WRAP_RANGE

Source
line_breaks_range

See LINE_BREAKS_RANGE

Source
line_breaks_range=(line_breaks_range : Range(Int32, Int32))

See LINE_BREAKS_RANGE

Source
padding_width_range

See PADDING_WIDTH_RANGE

Source
padding_width_range=(padding_width_range : Range(Int32, Int32))

See PADDING_WIDTH_RANGE

Source
rounding_range

see ROUNDING_RANGE

Source
rounding_range=(rounding_range : Range(Int32, Int32))

see ROUNDING_RANGE

Source
row_divider_frequency_range

See ROW_DIVIDER_FREQUENCY_RANGE

Source
row_divider_frequency_range=(row_divider_frequency_range : Range(Int32, Int32))

See ROW_DIVIDER_FREQUENCY_RANGE

Source