Class: RSpec::Hermetic::Verdict::Result
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Hermetic::Verdict::Result
- Defined in:
- lib/rspec/hermetic/verdict.rb
Instance Attribute Summary collapse
-
#ignored ⇒ Object
Returns the value of attribute ignored.
-
#pollutions ⇒ Object
Returns the value of attribute pollutions.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
Instance Attribute Details
#ignored ⇒ Object
Returns the value of attribute ignored
6 7 8 |
# File 'lib/rspec/hermetic/verdict.rb', line 6 def ignored @ignored end |
#pollutions ⇒ Object
Returns the value of attribute pollutions
6 7 8 |
# File 'lib/rspec/hermetic/verdict.rb', line 6 def pollutions @pollutions end |
#warnings ⇒ Object
Returns the value of attribute warnings
6 7 8 |
# File 'lib/rspec/hermetic/verdict.rb', line 6 def warnings @warnings end |
Instance Method Details
#polluted? ⇒ Boolean
7 8 9 |
# File 'lib/rspec/hermetic/verdict.rb', line 7 def polluted? pollutions.any? end |
#reportable? ⇒ Boolean
11 12 13 |
# File 'lib/rspec/hermetic/verdict.rb', line 11 def reportable? polluted? || warnings.any? end |