Class: EqJsonColorizer
- Inherits:
-
Object
- Object
- EqJsonColorizer
- Defined in:
- lib/colorizer.rb
Instance Method Summary collapse
- #blue(text) ⇒ Object
- #green(text) ⇒ Object
-
#initialize ⇒ EqJsonColorizer
constructor
A new instance of EqJsonColorizer.
- #red(text) ⇒ Object
Constructor Details
#initialize ⇒ EqJsonColorizer
Returns a new instance of EqJsonColorizer.
2 3 |
# File 'lib/colorizer.rb', line 2 def initialize end |
Instance Method Details
#blue(text) ⇒ Object
13 14 15 |
# File 'lib/colorizer.rb', line 13 def blue(text) colorize(text, 34) end |
#green(text) ⇒ Object
5 6 7 |
# File 'lib/colorizer.rb', line 5 def green(text) return colorize(text, 32); end |
#red(text) ⇒ Object
9 10 11 |
# File 'lib/colorizer.rb', line 9 def red(text) colorize(text, 31) end |