Class: Gem::Resolver::VendorSpecification
- Inherits:
-
SpecSpecification
- Object
- Specification
- SpecSpecification
- Gem::Resolver::VendorSpecification
- 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.
Instance Attribute Summary
Attributes inherited from Specification
#dependencies, #name, #platform, #required_ruby_version, #required_rubygems_version, #set, #source, #spec, #version
Instance Method Summary collapse
-
#==(other) ⇒ Object
:nodoc:.
-
#install(options = {}) {|nil| ... } ⇒ Object
This is a null install as this gem was unpacked into a directory.
Methods inherited from SpecSpecification
#dependencies, #full_name, #hash, #initialize, #name, #platform, #required_ruby_version, #required_rubygems_version, #version
Methods inherited from Specification
#download, #fetch_development_dependencies, #full_name, #initialize, #installable_platform?, #local?
Constructor Details
This class inherits a constructor from Gem::Resolver::SpecSpecification
Instance Method Details
#==(other) ⇒ Object
:nodoc:
9 10 11 12 13 14 |
# File 'lib/rubygems/resolver/vendor_specification.rb', line 9 def ==(other) # :nodoc: self.class === other && @set == other.set && @spec == other.spec && @source == other.source end |
#install(options = {}) {|nil| ... } ⇒ Object
This is a null install as this gem was unpacked into a directory. options
are ignored.
20 21 22 |
# File 'lib/rubygems/resolver/vendor_specification.rb', line 20 def install( = {}) yield nil end |