Method: Bundler::Thor::Base::ClassMethods#handle_no_command_error
- Defined in:
- lib/bundler/vendor/thor/lib/thor/base.rb
#handle_no_command_error(command, has_namespace = $thor_runner) ⇒ Object Also known as: handle_no_task_error
:nodoc:
469 470 471 472 473 474 475 |
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 469 def handle_no_command_error(command, has_namespace = $thor_runner) #:nodoc: if has_namespace fail UndefinedCommandError, "Could not find command #{command.inspect} in #{namespace.inspect} namespace." else fail UndefinedCommandError, "Could not find command #{command.inspect}." end end |