method

fetch_spec

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: Local
fetch_spec(name) 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 100
  def fetch_spec name # :nodoc:
    load_specs :complete

    if data = @specs[name]
      data.last.spec
    else
      raise Gem::Exception, "Unable to find spec for #{name.inspect}"
    end
  end
Register or log in to add new notes.