Class: Evilution::Reporter::HTML::Sections::SurvivedEntry Private

Inherits:
Evilution::Reporter::HTML::Section show all
Defined in:
lib/evilution/reporter/html/sections/survived_entry.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

Instance Method Summary collapse

Methods inherited from Evilution::Reporter::HTML::Section

template

Constructor Details

#initialize(result, suggestion:, baseline_keys:) ⇒ SurvivedEntry

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 SurvivedEntry.



9
10
11
12
13
# File 'lib/evilution/reporter/html/sections/survived_entry.rb', line 9

def initialize(result, suggestion:, baseline_keys:)
  @result = result
  @suggestion = suggestion
  @baseline_keys = baseline_keys
end