Class: Gem::Source::Local
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::Gem::Source
|
|
|
Instance Chain:
self,
::Gem::Source,
Comparable
|
|
| Inherits: |
Gem::Source
|
| Defined in: | lib/rubygems/source/local.rb |
Overview
The local source finds gems in the current directory for fulfilling dependencies.
Class Method Summary
::Gem::Source - Inherited
| .new | Creates a new ::Gem::Source which will use the index located at #uri. |
Instance Attribute Summary
::Gem::Source - Inherited
| #update_cache? | Returns true when it is possible and safe to update the cache directory. |
| #uri | The URI this source will fetch gems from. |
Instance Method Summary
-
#<=>(other)
Localsorts before ::Gem::Source and after Installed
::Gem::Source - Inherited
| #<=> | Sources are ordered by installation preference. |
| #cache_dir | Returns the local directory to write #uri to. |
| #download | Downloads |
| #fetch_spec | Fetches a specification for the given |
| #load_specs | Loads |
Constructor Details
This class inherits a constructor from Gem::Source
Instance Method Details
#<=>(other)
Local sorts before ::Gem::Source and after Installed