Flowdock
method

download

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: Local
download(spec, cache_dir = nil) public

No documentation

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

Hide source
# File lib/rubygems/source/local.rb, line 114
  def download(spec, cache_dir = nil) # :nodoc:
    load_specs :complete

    @specs.each do |name, data|
      return data[0] if data[1].spec == spec
    end

    raise Gem::Exception, "Unable to find file for '#{spec.full_name}'"
  end
Register or log in to add new notes.