Class: Reload
- Inherits:
-
Rubot::Core::Command
- Object
- Rubot::Core::Command
- Reload
- Defined in:
- lib/template/commands/reload.rb
Instance Method Summary collapse
Methods inherited from Rubot::Core::Command
#initialize, #protected?, #run
Constructor Details
This class inherits a constructor from Rubot::Core::Command
Instance Method Details
#execute(server, message, options) ⇒ Object
4 5 6 7 |
# File 'lib/template/commands/reload.rb', line 4 def execute(server, , ) @dispatcher.reload server.action(.destination, "respawned") end |