Exception: Rails::Command::UnrecognizedCommandError
- Inherits:
-
CorrectableNameError
- Object
- StandardError
- CorrectableNameError
- Rails::Command::UnrecognizedCommandError
- Defined in:
- lib/rails/command.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from CorrectableNameError
Instance Method Summary collapse
-
#initialize(name) ⇒ UnrecognizedCommandError
constructor
A new instance of UnrecognizedCommandError.
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 |