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:

[View source]

613
614
615
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 613

def handle_no_command_error(command, has_namespace = $thor_runner) #:nodoc:
  raise UndefinedCommandError.new(command, all_commands.keys, (namespace if has_namespace))
end