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