Class: Bcolors
- Inherits:
-
Object
- Object
- Bcolors
- Defined in:
- lib/bcolors.rb
Overview
Bcolors is used to colorize the bash output it is modeled after its python counterpart
Class Attribute Summary collapse
-
.BOLD ⇒ Object
readonly
Returns the value of attribute BOLD.
-
.ENDC ⇒ Object
readonly
Returns the value of attribute ENDC.
-
.FAIL ⇒ Object
readonly
Returns the value of attribute FAIL.
-
.HEADER ⇒ Object
readonly
Returns the value of attribute HEADER.
-
.OKBLUE ⇒ Object
readonly
Returns the value of attribute OKBLUE.
-
.OKGREEN ⇒ Object
readonly
Returns the value of attribute OKGREEN.
-
.UNDERLINE ⇒ Object
readonly
Returns the value of attribute UNDERLINE.
-
.WARNING ⇒ Object
readonly
Returns the value of attribute WARNING.
Class Attribute Details
.BOLD ⇒ Object (readonly)
Returns the value of attribute BOLD.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def BOLD @BOLD end |
.ENDC ⇒ Object (readonly)
Returns the value of attribute ENDC.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def ENDC @ENDC end |
.FAIL ⇒ Object (readonly)
Returns the value of attribute FAIL.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def FAIL @FAIL end |
.HEADER ⇒ Object (readonly)
Returns the value of attribute HEADER.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def HEADER @HEADER end |
.OKBLUE ⇒ Object (readonly)
Returns the value of attribute OKBLUE.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def OKBLUE @OKBLUE end |
.OKGREEN ⇒ Object (readonly)
Returns the value of attribute OKGREEN.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def OKGREEN @OKGREEN end |
.UNDERLINE ⇒ Object (readonly)
Returns the value of attribute UNDERLINE.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def UNDERLINE @UNDERLINE end |
.WARNING ⇒ Object (readonly)
Returns the value of attribute WARNING.
16 17 18 |
# File 'lib/bcolors.rb', line 16 def WARNING @WARNING end |