An InstalledSpecification represents a gem that is already installed locally.

Methods
I
S
Instance Public methods
install(options)

This is a null install as this specification is already installed. options are ignored.

# File lib/rubygems/resolver/installed_specification.rb, line 17
def install options
  yield nil
end
installable_platform?()

Returns true if this gem is installable for the current platform.

# File lib/rubygems/resolver/installed_specification.rb, line 24
def installable_platform?
  # BACKCOMPAT If the file is coming out of a specified file, then we
  # ignore the platform. This code can be removed in RG 3.0.
  return true if @source.kind_of? Gem::Source::SpecificFile

  super
end
source()

The source for this specification

# File lib/rubygems/resolver/installed_specification.rb, line 35
def source
  @source ||= Gem::Source::Installed.new
end