Class: Fix::Report Private
- Inherits:
-
Object
- Object
- Fix::Report
- Defined in:
- lib/fix/report.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.
The class that is responsible for reporting the result of the test.
Instance Attribute Summary collapse
-
#test ⇒ Test
readonly
private
The results of the test.
Instance Method Summary collapse
-
#initialize(test) ⇒ Report
constructor
private
Initialize the report class.
-
#to_s ⇒ String
private
The report in plain text.
Constructor Details
#initialize(test) ⇒ Report
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.
Initialize the report class.
12 13 14 |
# File 'lib/fix/report.rb', line 12 def initialize(test) @test = test end |
Instance Attribute Details
#test ⇒ Test (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.
Returns The results of the test.
19 20 21 |
# File 'lib/fix/report.rb', line 19 def test @test end |
Instance Method Details
#to_s ⇒ String
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 report in plain text.
24 25 26 |
# File 'lib/fix/report.rb', line 24 def to_s [maybe_thematic_break, maybe_alerts, total_time, statistics].join end |