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, #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:
8 9 10 11 12 13 |
# File 'lib/rubygems/resolver/vendor_specification.rb', line 8 def ==(other) # :nodoc: self.class === other and @set == other.set and @spec == other.spec and @source == other.source end |
#install(options = {}) {|nil| ... } ⇒ Object
This is a null install as this gem was unpacked into a directory. options
are ignored.
19 20 21 |
# File 'lib/rubygems/resolver/vendor_specification.rb', line 19 def install( = {}) yield nil end |