Class: Ronin::Recon::Message::WorkerStopped Private
- Inherits:
-
Object
- Object
- Ronin::Recon::Message::WorkerStopped
- Defined in:
- lib/ronin/recon/message/worker_stopped.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Indicates that a worker has stopped.
Instance Attribute Summary collapse
-
#worker ⇒ Worker
readonly
private
The worker object.
Instance Method Summary collapse
-
#initialize(worker) ⇒ WorkerStopped
constructor
private
Initializes the message.
Constructor Details
#initialize(worker) ⇒ WorkerStopped
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initializes the message.
42 43 44 45 46 |
# File 'lib/ronin/recon/message/worker_stopped.rb', line 42 def initialize(worker) @worker = worker freeze end |
Instance Attribute Details
#worker ⇒ Worker (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The worker object.
34 35 36 |
# File 'lib/ronin/recon/message/worker_stopped.rb', line 34 def worker @worker end |