Exception: Scrab::CommandSet::CommandNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- Scrab::CommandSet::CommandNotFoundError
- Defined in:
- lib/scrab/command_set.rb
Instance Method Summary collapse
-
#initialize(command_name) ⇒ CommandNotFoundError
constructor
A new instance of CommandNotFoundError.
Constructor Details
#initialize(command_name) ⇒ CommandNotFoundError
Returns a new instance of CommandNotFoundError.
3 4 5 |
# File 'lib/scrab/command_set.rb', line 3 def initialize(command_name) super "Command not found: #{command_name}" end |