Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/wafoo/ext/string.rb
Instance Method Summary collapse
Instance Method Details
#to_error_message ⇒ Object
6 7 8 |
# File 'lib/wafoo/ext/string.rb', line 6 def "\e[31m" + self + "\e[0m" end |
#to_info_message ⇒ Object
10 11 12 |
# File 'lib/wafoo/ext/string.rb', line 10 def "\e[36m" + self + "\e[0m" end |
#to_ok_message ⇒ Object
2 3 4 |
# File 'lib/wafoo/ext/string.rb', line 2 def "\e[32m" + self + "\e[0m" end |