method

prefetch

ruby latest stable - Class: Gem::Resolver::Set
prefetch(reqs)
public

The #prefetch method may be overridden, but this is not necessary. This default implementation does nothing, which is suitable for sets where looking up a specification is cheap (such as installed gems).

When overridden, the #prefetch method should look up specifications matching reqs.