Class: String
Constant Summary
Constants included
from ColorText
ColorText::BLUE, ColorText::GRAY, ColorText::GREEN, ColorText::NEON, ColorText::PURPLE, ColorText::RED, ColorText::YELLOW
Instance Method Summary
collapse
Methods included from ColorText
#colorize
Instance Method Details
#blue ⇒ Object
20
|
# File 'lib/color_text.rb', line 20
def blue; colorize(self, ColorText::BLUE); end
|
#gray ⇒ Object
16
|
# File 'lib/color_text.rb', line 16
def gray; colorize(self, ColorText::GRAY); end
|
#green ⇒ Object
18
|
# File 'lib/color_text.rb', line 18
def green; colorize(self, ColorText::GREEN); end
|
#neon ⇒ Object
22
|
# File 'lib/color_text.rb', line 22
def neon; colorize(self, ColorText::NEON); end
|
#purple ⇒ Object
21
|
# File 'lib/color_text.rb', line 21
def purple; colorize(self, ColorText::PURPLE); end
|
#red ⇒ Object
17
|
# File 'lib/color_text.rb', line 17
def red; colorize(self, ColorText::RED); end
|
#yellow ⇒ Object
19
|
# File 'lib/color_text.rb', line 19
def yellow; colorize(self, ColorText::YELLOW); end
|