Module: Synapse::Command::CommandHandler
- Included in:
- MappingCommandHandler
- Defined in:
- lib/synapse/command/command_handler.rb
Overview
Mixin for an object capable of handling commands
Consider using the command handler mixin that uses the mapping DSL.
Instance Method Summary collapse
-
#handle(command, current_unit) ⇒ Object
Handles the given command.
Instance Method Details
#handle(command, current_unit) ⇒ Object
Handles the given command
12 13 14 |
# File 'lib/synapse/command/command_handler.rb', line 12 def handle(command, current_unit) raise NotImplementedError end |