Exception: Rails::Command::UnrecognizedCommandError

Inherits:
CorrectableNameError show all
Defined in:
lib/rails/command.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from CorrectableNameError

#name

Instance Method Summary collapse

Methods inherited from CorrectableNameError

#corrections, #detailed_message

Constructor Details

#initialize(name) ⇒ UnrecognizedCommandError

Returns a new instance of UnrecognizedCommandError.



42
43
44
# File 'lib/rails/command.rb', line 42

def initialize(name)
  super("Unrecognized command #{name.inspect}", name, Command.printing_commands.map(&:first))
end