Class: Gem::Source::Vendor
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| 
         Class Chain: 
        
          self,
           
      Installed,
          ::Gem::Source
         | 
    |
| 
         Instance Chain: 
        
       | 
    |
| Inherits: | 
        Gem::Source::Installed
        
  | 
    
| Defined in: | lib/rubygems/source/vendor.rb | 
Overview
This represents a vendored source that is similar to an installed gem.
Constant Summary
::Gem::Source - Inherited
  
Class Method Summary
- 
    
      .new(path)  ⇒ Vendor 
    
    constructor
    
Creates a new
Vendorsource for a gem that was unpacked at Gem.path. 
Installed - Inherited
::Gem::Source - Inherited
| .new | Creates a new   | 
    
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
Installed - Inherited
| #<=> | 
  | 
    
| #download | We don’t need to download an installed gem.  | 
    
| #pretty_print | |
::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   | 
    
| #typo_squatting?, #enforce_trailing_slash, #==, | |
| #dependency_resolver_set | Returns a Set that can fetch specifications from this source.  | 
    
| #eql? | Alias for #==.  | 
    
| #hash, #pretty_print | |
::Gem::Text - Included
| #clean_text | Remove any non-printable characters and make the text suitable for printing.  | 
    
| #format_text | Wraps   | 
    
| #levenshtein_distance | This code is based directly on the   | 
    
| #truncate_text, #min3 | |
Constructor Details
    .new(path)  ⇒ Vendor 
  
Creates a new Vendor source for a gem that was unpacked at Gem.path.