Class: CTodo::BgColorSet

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

Instance Method Summary collapse

Methods inherited from ColorSet

#demo, #rst

Instance Method Details

#blackObject



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

def black;  "\e[40m\e[1;37m" end

#blueObject



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

def blue;   "\e[44m\e[1;37m" end

#cyanObject



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

def cyan;   "\e[46m\e[1;37m" end

#greenObject



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

def green;  "\e[42m\e[1;37m" end

#magentaObject



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

def magenta;"\e[45m\e[1;37m" end

#redObject



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

def red;    "\e[41m\e[1;37m" end

#whiteObject



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

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

#yellowObject



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

def yellow; "\e[43m\e[1;37m" end