Class: Hydra::Messages::Worker::Shutdown
- Inherits:
-
Hydra::Message
- Object
- Hydra::Message
- Hydra::Messages::Worker::Shutdown
- Defined in:
- lib/hydra/message/worker_messages.rb
Overview
Message to tell the Runner to shut down
Direct Known Subclasses
Instance Method Summary collapse
-
#handle(runner) ⇒ Object
:nodoc:.
Methods inherited from Hydra::Message
build, #initialize, #serialize
Constructor Details
This class inherits a constructor from Hydra::Message
Instance Method Details
#handle(runner) ⇒ Object
:nodoc:
31 32 33 |
# File 'lib/hydra/message/worker_messages.rb', line 31 def handle(runner) #:nodoc: runner.stop end |