Class: Avm::Sources::Tests::Performer
- Inherits:
-
Object
- Object
- Avm::Sources::Tests::Performer
- Defined in:
- lib/avm/sources/tests/performer.rb
Instance Method Summary collapse
Instance Method Details
#failed_units ⇒ Object
15 16 17 |
# File 'lib/avm/sources/tests/performer.rb', line 15 def failed_units units.select(&:failed?) end |
#non_failed_units ⇒ Object
11 12 13 |
# File 'lib/avm/sources/tests/performer.rb', line 11 def non_failed_units units.reject(&:failed?) end |
#successful? ⇒ Boolean
20 21 22 |
# File 'lib/avm/sources/tests/performer.rb', line 20 def successful? failed_units.none? end |