Class: Evilution::Baseline::Result Private
- Inherits:
-
Struct
- Object
- Struct
- Evilution::Baseline::Result
- Defined in:
- lib/evilution/baseline.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.
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#failed_spec_files ⇒ Object
Returns the value of attribute failed_spec_files.
Instance Method Summary collapse
- #failed? ⇒ Boolean private
-
#initialize ⇒ Result
constructor
private
A new instance of Result.
Constructor Details
#initialize ⇒ Result
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 Result.
8 9 10 11 |
# File 'lib/evilution/baseline.rb', line 8 def initialize(**) super freeze end |
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration
7 8 9 |
# File 'lib/evilution/baseline.rb', line 7 def duration @duration end |
#failed_spec_files ⇒ Object
Returns the value of attribute failed_spec_files
7 8 9 |
# File 'lib/evilution/baseline.rb', line 7 def failed_spec_files @failed_spec_files end |
Instance Method Details
#failed? ⇒ Boolean
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.
13 14 15 |
# File 'lib/evilution/baseline.rb', line 13 def failed? !failed_spec_files.empty? end |