Class: Ronin::Recon::Message::WorkerStarted
- Inherits:
-
Object
- Object
- Ronin::Recon::Message::WorkerStarted
- Defined in:
- lib/ronin/recon/message/worker_started.rb
Overview
Indicates that a worker has started.
Instance Attribute Summary collapse
-
#worker ⇒ Worker
readonly
The worker object.
Instance Method Summary collapse
-
#initialize(worker) ⇒ WorkerStarted
constructor
Initializes the message.
Constructor Details
#initialize(worker) ⇒ WorkerStarted
Initializes the message.
42 43 44 45 46 |
# File 'lib/ronin/recon/message/worker_started.rb', line 42 def initialize(worker) @worker = worker freeze end |
Instance Attribute Details
#worker ⇒ Worker (readonly)
The worker object.
34 35 36 |
# File 'lib/ronin/recon/message/worker_started.rb', line 34 def worker @worker end |