Method: CommandLion::App#rainbows
- Defined in:
- lib/command_lion/app.rb
#rainbows ⇒ Object
A tiny bit of rainbow magic is included. You can simple include this option within your application and, if you have the lolize gem installed, then rainbows will automagically be hooked to STDOUT to make your application much prettier.
It’d be funny if this was turned on by default and you had to opt-out of the rainbows. Good thing I didn’t do that, right?
215 216 217 218 219 |
# File 'lib/command_lion/app.rb', line 215 def rainbows require 'lolize/auto' rescue raise "The 'lolize' gem is not installed. Install it for rainbow magic!" end |