Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rspec_starter/core_ext/string.rb
Overview
Add some ome simple colorization methods for formatting console output.
Instance Method Summary collapse
Instance Method Details
#highlight ⇒ Object
3 4 5 |
# File 'lib/rspec_starter/core_ext/string.rb', line 3 def highlight colorize(:light_blue) end |
#warning ⇒ Object
7 8 9 |
# File 'lib/rspec_starter/core_ext/string.rb', line 7 def warning colorize(:yellow) end |