Exception: Executable::NoCommandError

Inherits:
NoMethodError
  • Object
show all
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

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