Class: Gem::Resolver::CurrentSet

Inherits:
Set show all
Defined in:
lib/rubygems/resolver/current_set.rb

Overview

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

Instance Attribute Summary

Attributes inherited from Set

#errors, #prerelease, #remote

Instance Method Summary collapse

Methods inherited from Set

#initialize, #prefetch, #remote?

Constructor Details

This class inherits a constructor from Gem::Resolver::Set

Instance Method Details

#find_all(req) ⇒ Object



8
9
10
# File 'lib/rubygems/resolver/current_set.rb', line 8

def find_all(req)
  req.dependency.matching_specs
end