Class: Evilution::Reporter::HTML::Report Private

Inherits:
Section
  • Object
show all
Defined in:
lib/evilution/reporter/html/report.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 Section

Section::TEMPLATE_DIR

Instance Method Summary collapse

Methods inherited from Section

template

Constructor Details

#initialize(summary, baseline:, baseline_keys:, suggestion:) ⇒ 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.

Returns a new instance of Report.



15
16
17
18
19
20
# File 'lib/evilution/reporter/html/report.rb', line 15

def initialize(summary, baseline:, baseline_keys:, suggestion:)
  @summary = summary
  @baseline = baseline
  @baseline_keys = baseline_keys
  @suggestion = suggestion
end