Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/jails/support.rb
Instance Method Summary collapse
-
#blue ⇒ Object
colorize UNIX output blue.
-
#bold ⇒ Object
bold UNIX output.
-
#cyan ⇒ Object
colorize UNIX output cyan.
Instance Method Details
#blue ⇒ Object
colorize UNIX output blue
38 39 40 |
# File 'lib/jails/support.rb', line 38 def blue "\e[34m#{self}\e[0m" end |
#bold ⇒ Object
bold UNIX output
43 44 45 |
# File 'lib/jails/support.rb', line 43 def bold "\e[1m#{self}\e[22m" end |
#cyan ⇒ Object
colorize UNIX output cyan
33 34 35 |
# File 'lib/jails/support.rb', line 33 def cyan "\e[36m#{self}\e[0m" end |