Top Level Namespace
Defined Under Namespace
Modules: Skele
Instance Method Summary collapse
Instance Method Details
#blue(text) ⇒ Object
21 22 23 |
# File 'bin/skele', line 21 def blue(text) colorize text, 34 end |
#colorize(text, color_code) ⇒ Object
9 10 11 |
# File 'bin/skele', line 9 def colorize(text, color_code) "\e[#{color_code}m#{text}\e[0m" end |
#green(text) ⇒ Object
17 18 19 |
# File 'bin/skele', line 17 def green(text) colorize text, 32 end |
#red(text) ⇒ Object
13 14 15 |
# File 'bin/skele', line 13 def red(text) colorize text, 31 end |