Class: Gem::Source::Vendor
- Inherits:
-
Installed
- Object
- Gem::Source
- Installed
- Gem::Source::Vendor
- Defined in:
- lib/rubygems/source/vendor.rb
Overview
This represents a vendored source that is similar to an installed gem.
Constant Summary
Constants inherited from Gem::Source
Instance Attribute Summary
Attributes inherited from Gem::Source
Instance Method Summary collapse
- #<=>(other) ⇒ Object
-
#initialize(path) ⇒ Vendor
constructor
Creates a new Vendor source for a gem that was unpacked at
path
.
Methods inherited from Installed
Methods inherited from Gem::Source
#==, #cache_dir, #dependency_resolver_set, #download, #fetch_spec, #hash, #load_specs, #pretty_print, #typo_squatting?, #update_cache?
Methods included from Text
#clean_text, #format_text, #levenshtein_distance, #min3, #truncate_text
Constructor Details
#initialize(path) ⇒ Vendor
Creates a new Vendor source for a gem that was unpacked at path
.
10 11 12 |
# File 'lib/rubygems/source/vendor.rb', line 10 def initialize(path) @uri = path end |