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