Class: Evilution::Reporter::HTML::BaselineKeys Private
- Inherits:
-
Object
- Object
- Evilution::Reporter::HTML::BaselineKeys
- Defined in:
- lib/evilution/reporter/html/baseline_keys.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.
Instance Method Summary collapse
-
#initialize(baseline) ⇒ BaselineKeys
constructor
private
A new instance of BaselineKeys.
- #regression?(mutation) ⇒ Boolean private
Constructor Details
#initialize(baseline) ⇒ BaselineKeys
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 BaselineKeys.
6 7 8 |
# File 'lib/evilution/reporter/html/baseline_keys.rb', line 6 def initialize(baseline) @keys = build(baseline) end |
Instance Method Details
#regression?(mutation) ⇒ Boolean
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.
10 11 12 13 14 |
# File 'lib/evilution/reporter/html/baseline_keys.rb', line 10 def regression?(mutation) return false if @keys.nil? !@keys.include?(key_for(mutation)) end |