module Tablo::Config
Overview
The Config module define global getters and setters, to be used as default values
for all class instantiation parameters.
Defined in:
config.crConstant Summary
-
STYLER_TTY_ONLY =
true -
Checks whether styling is allowed when output is redirected.
true: styling not allowed (Default)false: styling allowed
-
TERMINAL_CAPPED_WIDTH =
false -
Checks whether terminal size is used as table total width when packing is called without a specified width.
true: table width is capped to terminal sizefalse: terminal size is ignored (Default)
Class Method Summary
-
.styler_tty_only=(styler_tty_only : Bool)
see
STYLER_TTY_ONLY -
.styler_tty_only? : Bool
see
STYLER_TTY_ONLY - .terminal_capped_width=(terminal_capped_width : Bool)
- .terminal_capped_width? : Bool
Class Method Detail
def self.terminal_capped_width=(terminal_capped_width : Bool)
#