Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/google_api/core_ext/string.rb
Instance Method Summary collapse
Instance Method Details
#bold ⇒ Object
10 11 12 |
# File 'lib/google_api/core_ext/string.rb', line 10 def bold "\033[1m#{self}\033[0m" end |
#green ⇒ Object
6 7 8 |
# File 'lib/google_api/core_ext/string.rb', line 6 def green "\033[32m#{self}\033[0m" end |
#red ⇒ Object
2 3 4 |
# File 'lib/google_api/core_ext/string.rb', line 2 def red "\033[31m#{self}\033[0m" end |