Class: Rukawa::Dependency::OneSuccess

Inherits:
Base
  • Object
show all
Defined in:
lib/rukawa/dependency.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Rukawa::Dependency::Base

Instance Method Details

#resolveObject



30
31
32
# File 'lib/rukawa/dependency.rb', line 30

def resolve
  @results.empty? || @results.any? { |r| r && r.success? }
end