Method: CLI::UI.enable_color=
- Defined in:
- lib/cli/ui.rb
.enable_color=(bool) ⇒ Object
Turn colour in Formatter, Frame, and Spinner output on or off.
Attributes
-
bool- true or false; enable or disable colour.
: (bool bool) -> void
303 304 305 |
# File 'lib/cli/ui.rb', line 303 def enable_color=(bool) @enable_color = !!bool end |