Skip to content
instance method

Gem::Resolver::Set#prefetch

prefetch(reqs)

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.

See also #find_all also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0