Class: Gem::Resolver::LocalSpecification
- Inherits:
-
SpecSpecification
- Object
- Specification
- SpecSpecification
- Gem::Resolver::LocalSpecification
- Defined in:
- lib/rubygems/resolver/local_specification.rb
Overview
A LocalSpecification comes from a .gem file on the local filesystem.
Instance Attribute Summary
Attributes inherited from SpecSpecification
Attributes inherited from Specification
#dependencies, #name, #platform, #set, #source, #version
Instance Method Summary collapse
-
#installable_platform? ⇒ Boolean
Returns
true
if this gem is installable for the current platform.
Methods inherited from SpecSpecification
#dependencies, #full_name, #initialize, #name, #platform, #version
Methods inherited from Specification
#full_name, #initialize, #install
Constructor Details
This class inherits a constructor from Gem::Resolver::SpecSpecification
Instance Method Details
#installable_platform? ⇒ Boolean
Returns true
if this gem is installable for the current platform.
9 10 11 12 13 |
# File 'lib/rubygems/resolver/local_specification.rb', line 9 def installable_platform? return true if @source.kind_of? Gem::Source::SpecificFile super end |