Skip to content
class method

Gem::SpecFetcher.new

new(sources = nil)

Creates a new SpecFetcher. Ordinarily you want to use the default fetcher from Gem::SpecFetcher::fetcher which uses the Gem.sources.

If you need to retrieve specifications from a different source, you can send it as an argument.

See also .fetcher #available_specs #detect also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0