123456789_123456789_123456789_123456789_123456789_

Class: Gem::Resolver::VendorSpecification

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Gem::Resolver::SpecSpecification
Defined in: lib/rubygems/resolver/vendor_specification.rb

Overview

A VendorSpecification represents a gem that has been unpacked into a project and is being loaded through a gem dependencies file through the path: option.

Class Method Summary

SpecSpecification - Inherited

.new

A SpecSpecification is created for a set for a ::Gem::Specification in spec.

Specification - Inherited

.new

Sets default instance variables for the specification.

Instance Attribute Summary

Specification - Inherited

#dependencies

The dependencies of the gem for this specification.

#installable_platform?

Returns true if this specification is installable on this platform.

#name

The name of the gem for this specification.

#platform

The platform this gem works on.

#set

The set this specification came from.

#source

The source for this specification.

#spec
#version

The version of the gem for this specification.

Instance Method Summary

SpecSpecification - Inherited

#dependencies

The dependencies of the gem for this specification.

#full_name

The name and version of the specification.

#name

The name of the gem for this specification.

#platform

The platform this gem works on.

#version

The version of the gem for this specification.

Specification - Inherited

#full_name

The name and version of the specification.

#install

Installs this specification using the ::Gem::Installer options.

Constructor Details

This class inherits a constructor from Gem::Resolver::SpecSpecification

Instance Method Details

#install(options = {}) {|nil| ... }

This is a null install as this gem was unpacked into a directory. options are ignored.

Yields:

  • (nil)
[ GitHub ]

  
# File 'lib/rubygems/resolver/vendor_specification.rb', line 20

def install options = {}
  yield nil
end