Class: TTY::Color
- Inherits:
-
Object
- Object
- TTY::Color
- Defined in:
- lib/tty/color.rb
Constant Summary collapse
- CLEAR =
Embed in a String to clear all previous ANSI sequences.
"\e[0m""]"
- BOLD =
The start of an ANSI bold sequence.
"\e[1m""]"
Instance Attribute Summary collapse
-
#enabled ⇒ Object
readonly
Returns the value of attribute enabled.
Instance Attribute Details
#enabled ⇒ Object (readonly)
Returns the value of attribute enabled.
11 12 13 |
# File 'lib/tty/color.rb', line 11 def enabled @enabled end |