class Bundler::Thor::UndefinedTaskError

当找不到命令时引发。

属性

all_commands[R]
command[R]

公共类方法

new(command, all_commands, namespace) 点击切换源代码
调用父类方法
# File bundler/vendor/thor/lib/thor/error.rb, line 43
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