method

fetch_spec

Importance_0
v2_5_5 - 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 104
  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.