Module: Muck::Utils
Instance Method Summary collapse
- #blue(text) ⇒ Object
- #green(text) ⇒ Object
- #pink(text) ⇒ Object
- #red(text) ⇒ Object
- #yellow(text) ⇒ Object
Instance Method Details
#blue(text) ⇒ Object
16 17 18 |
# File 'lib/muck/utils.rb', line 16 def blue(text) "\e[34m#{text}\e[0m" end |
#green(text) ⇒ Object
8 9 10 |
# File 'lib/muck/utils.rb', line 8 def green(text) "\e[32m#{text}\e[0m" end |
#pink(text) ⇒ Object
20 21 22 |
# File 'lib/muck/utils.rb', line 20 def pink(text) "\e[35m#{text}\e[0m" end |
#red(text) ⇒ Object
4 5 6 |
# File 'lib/muck/utils.rb', line 4 def red(text) "\e[31m#{text}\e[0m" end |
#yellow(text) ⇒ Object
12 13 14 |
# File 'lib/muck/utils.rb', line 12 def yellow(text) "\e[33m#{text}\e[0m" end |