Class: Hydra::Messages::Runner::Results
- Inherits:
-
Hydra::Message
- Object
- Hydra::Message
- Hydra::Messages::Runner::Results
- Defined in:
- lib/hydra/message/runner_messages.rb
Overview
Message for the Runner to respond with its results
Direct Known Subclasses
Instance Attribute Summary collapse
-
#file ⇒ Object
The file that was run.
-
#output ⇒ Object
The output from running the test.
Instance Method Summary collapse
-
#handle(worker, runner) ⇒ Object
:nodoc:.
-
#serialize ⇒ Object
:nodoc:.
Methods inherited from Hydra::Message
Constructor Details
This class inherits a constructor from Hydra::Message
Instance Attribute Details
#file ⇒ Object
The file that was run
16 17 18 |
# File 'lib/hydra/message/runner_messages.rb', line 16 def file @file end |
#output ⇒ Object
The output from running the test
14 15 16 |
# File 'lib/hydra/message/runner_messages.rb', line 14 def output @output end |
Instance Method Details
#handle(worker, runner) ⇒ Object
:nodoc:
20 21 22 |
# File 'lib/hydra/message/runner_messages.rb', line 20 def handle(worker, runner) #:nodoc: worker.relay_results(self, runner) end |
#serialize ⇒ Object
:nodoc:
17 18 19 |
# File 'lib/hydra/message/runner_messages.rb', line 17 def serialize #:nodoc: super(:output => @output, :file => @file) end |