Exception: Executable::NoCommandError
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Executable::NoCommandError
- Defined in:
- lib/executable/errors.rb
Overview
class NoCommandError < ::NoMethodError
def initialize(name, *args)
super("unknown command -- #{name}", name, *args)
end
end
Instance Method Summary collapse
-
#initialize(*args) ⇒ NoCommandError
constructor
A new instance of NoCommandError.
Constructor Details
#initialize(*args) ⇒ NoCommandError
Returns a new instance of NoCommandError.
16 17 18 |
# File 'lib/executable/errors.rb', line 16 def initialize(*args) super("missing command", *args) end |