Class: Ronin::Recon::Message::WorkerStarted

Inherits:
Object
  • Object
show all
Defined in:
lib/ronin/recon/message/worker_started.rb

Overview

Indicates that a worker has started.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(worker) ⇒ WorkerStarted

Initializes the message.

Parameters:

  • worker (Worker)

    The worker object that started.



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

#workerWorker (readonly)

The worker object.

Returns:



34
35
36
# File 'lib/ronin/recon/message/worker_started.rb', line 34

def worker
  @worker
end