Class: Evilution::Reporter::HTML::Sections::UnresolvedDetails
- Inherits:
-
Evilution::Reporter::HTML::Section
- Object
- Evilution::Reporter::HTML::Section
- Evilution::Reporter::HTML::Sections::UnresolvedDetails
- Defined in:
- lib/evilution/reporter/html/sections/unresolved_details.rb
Constant Summary
Constants inherited from Evilution::Reporter::HTML::Section
Evilution::Reporter::HTML::Section::TEMPLATE_DIR
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(unresolved) ⇒ UnresolvedDetails
constructor
A new instance of UnresolvedDetails.
Methods inherited from Evilution::Reporter::HTML::Section
Constructor Details
#initialize(unresolved) ⇒ UnresolvedDetails
Returns a new instance of UnresolvedDetails.
14 15 16 |
# File 'lib/evilution/reporter/html/sections/unresolved_details.rb', line 14 def initialize(unresolved) @unresolved = unresolved end |
Class Method Details
.render_if(unresolved) ⇒ Object
8 9 10 11 12 |
# File 'lib/evilution/reporter/html/sections/unresolved_details.rb', line 8 def self.render_if(unresolved) return "" if unresolved.empty? new(unresolved).render end |