In Files

  • bundler/vendor/thor/lib/thor/error.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

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
 
               # File bundler/vendor/thor/lib/thor/error.rb, line 46
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