Exception: Hawknee::Helpers::BadCommand
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Hawknee::Helpers::BadCommand
- Defined in:
- lib/hawknee/helpers.rb
Instance Method Summary collapse
-
#initialize ⇒ BadCommand
constructor
A new instance of BadCommand.
Constructor Details
#initialize ⇒ BadCommand
Returns a new instance of BadCommand.
46 47 48 49 50 |
# File 'lib/hawknee/helpers.rb', line 46 def initialize puts "Ooops!".bold.colorize(:red) + " It seems, you typed some invalid command" puts "Run with " + "-h".bold.colorize(:blue) + " or " + "--help".bold.colorize(:blue) + " option, to get some help." exit end |