123456789_123456789_123456789_123456789_123456789_

Class: Gem::Resolver::CurrentSet

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Set
Instance Chain:
self, Set
Inherits: Gem::Resolver::Set
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.

Class Method Summary

Set - Inherited

Instance Attribute Summary

Set - Inherited

#errors

Errors encountered when resolving gems.

#prerelease

When true, allows matching of requests to prerelease gems.

#remote

Set to true to disable network access for this set.

#remote?

When true, this set is allowed to access the network when looking up specifications or dependencies.

Instance Method Summary

Set - Inherited

#find_all

The find_all method must be implemented.

#prefetch

The #prefetch method may be overridden, but this is not necessary.

Constructor Details

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

Instance Method Details

#find_all(req)

[ GitHub ]

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

def find_all(req)
  req.dependency.matching_specs
end