Class: InvalidCommand
- Defined in:
- lib/another_toy_robot/invalid_command.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
#initialize, #post_initialize, #valid?
Constructor Details
This class inherits a constructor from Command
Instance Method Details
#execute ⇒ Object
4 5 6 |
# File 'lib/another_toy_robot/invalid_command.rb', line 4 def execute puts "Invalid command" end |