Class: Bcolors

Inherits:
Object
  • Object
show all
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

Class Attribute Details

.BOLDObject (readonly)

Returns the value of attribute BOLD.



16
17
18
# File 'lib/bcolors.rb', line 16

def BOLD
  @BOLD
end

.ENDCObject (readonly)

Returns the value of attribute ENDC.



16
17
18
# File 'lib/bcolors.rb', line 16

def ENDC
  @ENDC
end

.FAILObject (readonly)

Returns the value of attribute FAIL.



16
17
18
# File 'lib/bcolors.rb', line 16

def FAIL
  @FAIL
end

.HEADERObject (readonly)

Returns the value of attribute HEADER.



16
17
18
# File 'lib/bcolors.rb', line 16

def HEADER
  @HEADER
end

.OKBLUEObject (readonly)

Returns the value of attribute OKBLUE.



16
17
18
# File 'lib/bcolors.rb', line 16

def OKBLUE
  @OKBLUE
end

.OKGREENObject (readonly)

Returns the value of attribute OKGREEN.



16
17
18
# File 'lib/bcolors.rb', line 16

def OKGREEN
  @OKGREEN
end

.UNDERLINEObject (readonly)

Returns the value of attribute UNDERLINE.



16
17
18
# File 'lib/bcolors.rb', line 16

def UNDERLINE
  @UNDERLINE
end

.WARNINGObject (readonly)

Returns the value of attribute WARNING.



16
17
18
# File 'lib/bcolors.rb', line 16

def WARNING
  @WARNING
end