Class: Aggro::Handler::Command
- Inherits:
-
Struct
- Object
- Struct
- Aggro::Handler::Command
- Defined in:
- lib/aggro/handler/command.rb
Overview
Private: Handler for incoming command requests.
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#server ⇒ Object
Returns the value of attribute server.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
4 5 6 |
# File 'lib/aggro/handler/command.rb', line 4 def @message end |
#server ⇒ Object
Returns the value of attribute server
4 5 6 |
# File 'lib/aggro/handler/command.rb', line 4 def server @server end |
Instance Method Details
#call ⇒ Object
5 6 7 |
# File 'lib/aggro/handler/command.rb', line 5 def call commandee_local? ? handle_local : handle_foreign end |