class UndefinedTaskError

Raised when a command was not found.

Attributes

all_commands[R]
command[R]

Public Class Methods

new(command, all_commands, namespace) click to toggle source
Calls superclass method
# File bundler/vendor/thor/lib/thor/error.rb, line 54
def initialize(command, all_commands, namespace)
  @command = command
  @all_commands = all_commands

  message = "Could not find command #{command.inspect}"
  message = namespace ? "#{message} in #{namespace.inspect} namespace." : "#{message}."

  super(message)
end