summaryrefslogtreecommitdiff
path: root/lib/rubygems/resolver/current_set.rb
blob: 370e445089fa699aea30e381cfc07a83a28d05c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

##
# A set which represents the installed gems. Respects
# all the normal settings that control where to look
# for installed gems.

class Gem::Resolver::CurrentSet < Gem::Resolver::Set
  def find_all(req)
    req.dependency.matching_specs
  end
end