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
17 18 19 |
# File 'lib/avm/sources/tests/performer.rb', line 17 def failed_units units.select(&:failed?) end |
#non_failed_units ⇒ Object
13 14 15 |
# File 'lib/avm/sources/tests/performer.rb', line 13 def non_failed_units units.reject(&:failed?) end |
#successful? ⇒ Boolean
22 23 24 |
# File 'lib/avm/sources/tests/performer.rb', line 22 def successful? failed_units.none? end |