Exception: Scrab::CommandSet::CommandNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/scrab/command_set.rb

Instance Method Summary collapse

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