Class: Ronin::Recon::Message::JobStarted Private
- Inherits:
-
Object
- Object
- Ronin::Recon::Message::JobStarted
- Defined in:
- lib/ronin/recon/message/job_started.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 started a job.
Instance Attribute Summary collapse
-
#value ⇒ Value
readonly
private
The input value object.
-
#worker ⇒ Worker
readonly
private
The worker object.
Instance Method Summary collapse
-
#initialize(worker, value) ⇒ JobStarted
constructor
private
Initializes the message.
Constructor Details
#initialize(worker, value) ⇒ JobStarted
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.
50 51 52 53 54 55 |
# File 'lib/ronin/recon/message/job_started.rb', line 50 def initialize(worker,value) @worker = worker @value = value freeze end |
Instance Attribute Details
#value ⇒ Value (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 input value object.
39 40 41 |
# File 'lib/ronin/recon/message/job_started.rb', line 39 def value @value end |
#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/job_started.rb', line 34 def worker @worker end |