Class: CTodo::FgColorSet

Inherits:
ColorSet show all
Defined in:
lib/ctodo/color.rb

Instance Method Summary collapse

Methods inherited from ColorSet

#demo, #rst

Instance Method Details

#blackObject



25
# File 'lib/ctodo/color.rb', line 25

def black;  "\e[1;30m" end

#blueObject



21
# File 'lib/ctodo/color.rb', line 21

def blue;   "\e[1;34m" end

#cyanObject



19
# File 'lib/ctodo/color.rb', line 19

def cyan;   "\e[1;36m" end

#greenObject



23
# File 'lib/ctodo/color.rb', line 23

def green;  "\e[1;32m" end

#magentaObject



20
# File 'lib/ctodo/color.rb', line 20

def magenta;"\e[1;35m" end

#redObject



24
# File 'lib/ctodo/color.rb', line 24

def red;    "\e[1;31m" end

#whiteObject

only use bold colors (1;) for those on black on white screens



18
# File 'lib/ctodo/color.rb', line 18

def white;  "\e[1;37m" end

#yellowObject



22
# File 'lib/ctodo/color.rb', line 22

def yellow; "\e[1;33m" end