Class: Evilution::Reporter::HTML::Sections::BaselineComparison Private
- Inherits:
-
Evilution::Reporter::HTML::Section
- Object
- Evilution::Reporter::HTML::Section
- Evilution::Reporter::HTML::Sections::BaselineComparison
- Defined in:
- lib/evilution/reporter/html/sections/baseline_comparison.rb
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.
Constant Summary
Constants inherited from Evilution::Reporter::HTML::Section
Evilution::Reporter::HTML::Section::TEMPLATE_DIR
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(baseline, summary) ⇒ BaselineComparison
constructor
private
A new instance of BaselineComparison.
Methods inherited from Evilution::Reporter::HTML::Section
Constructor Details
#initialize(baseline, summary) ⇒ BaselineComparison
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 a new instance of BaselineComparison.
14 15 16 17 |
# File 'lib/evilution/reporter/html/sections/baseline_comparison.rb', line 14 def initialize(baseline, summary) @baseline = baseline @summary = summary end |
Class Method Details
.render_if(baseline, summary) ⇒ Object
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.
8 9 10 11 12 |
# File 'lib/evilution/reporter/html/sections/baseline_comparison.rb', line 8 def self.render_if(baseline, summary) return "" unless baseline new(baseline, summary).render end |