Flowdock
method

download_to_cache

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: FakeFetcher
download_to_cache(dependency) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/test_utilities.rb, line 147
  def download_to_cache(dependency)
    found, _ = Gem::SpecFetcher.fetcher.spec_for_dependency dependency

    return if found.empty?

    spec, source = found.first

    download spec, source.uri.to_s
  end
Register or log in to add new notes.