Class: Evilution::Reporter::HTML::Sections::ErrorDetails Private
- Inherits:
-
Evilution::Reporter::HTML::Section
- Object
- Evilution::Reporter::HTML::Section
- Evilution::Reporter::HTML::Sections::ErrorDetails
- Defined in:
- lib/evilution/reporter/html/sections/error_details.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
- .render_if(errored) ⇒ Object private
Instance Method Summary collapse
-
#initialize(errored) ⇒ ErrorDetails
constructor
private
A new instance of ErrorDetails.
Methods inherited from Evilution::Reporter::HTML::Section
Constructor Details
#initialize(errored) ⇒ ErrorDetails
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 ErrorDetails.
15 16 17 |
# File 'lib/evilution/reporter/html/sections/error_details.rb', line 15 def initialize(errored) @errored = errored end |
Class Method Details
.render_if(errored) ⇒ 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.
9 10 11 12 13 |
# File 'lib/evilution/reporter/html/sections/error_details.rb', line 9 def self.render_if(errored) return "" if errored.empty? new(errored).render end |