Class: CTodo::FgColorSet
Instance Method Summary collapse
- #black ⇒ Object
- #blue ⇒ Object
- #cyan ⇒ Object
- #green ⇒ Object
- #magenta ⇒ Object
- #red ⇒ Object
-
#white ⇒ Object
only use bold colors (1;) for those on black on white screens.
- #yellow ⇒ Object
Methods inherited from ColorSet
Instance Method Details
#black ⇒ Object
25 |
# File 'lib/ctodo/color.rb', line 25 def black; "\e[1;30m" end |
#blue ⇒ Object
21 |
# File 'lib/ctodo/color.rb', line 21 def blue; "\e[1;34m" end |
#cyan ⇒ Object
19 |
# File 'lib/ctodo/color.rb', line 19 def cyan; "\e[1;36m" end |
#green ⇒ Object
23 |
# File 'lib/ctodo/color.rb', line 23 def green; "\e[1;32m" end |
#magenta ⇒ Object
20 |
# File 'lib/ctodo/color.rb', line 20 def magenta;"\e[1;35m" end |
#red ⇒ Object
24 |
# File 'lib/ctodo/color.rb', line 24 def red; "\e[1;31m" end |
#white ⇒ Object
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 |
#yellow ⇒ Object
22 |
# File 'lib/ctodo/color.rb', line 22 def yellow; "\e[1;33m" end |