End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::AvailableSet#find_all
find_all(req)
lib/rubygems/available_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/available_set.rb, line 125
def find_all(req)
dep = req.dependency
match = @set.find_all do |t|
dep.match? t.spec
end
match.map do |t|
Gem::Resolver::LocalSpecification.new(self, t.spec, t.source)
end
end
Used by the Resolver, the protocol to use a AvailableSet as a search Set.
See also
#empty?
#inject_into_list
#each_spec
#match_platform!
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1