Class: Bundler::Plugin::Installer::Path
- Inherits:
-
Source::Path
- Object
- Source
- Source::Path
- Bundler::Plugin::Installer::Path
- Defined in:
- lib/bundler/plugin/installer/path.rb
Constant Summary
Constants inherited from Source::Path
Instance Attribute Summary
Attributes inherited from Source::Path
#name, #options, #path, #root_path, #version
Attributes inherited from Source
#checksum_store, #dependency_names
Instance Method Summary collapse
- #eql?(other) ⇒ Boolean (also: #==)
- #generate_bin(spec, disable_extensions = false) ⇒ Object
- #root ⇒ Object
Methods inherited from Source::Path
#app_cache_dirname, #cache, #expanded_original_path, from_lock, #hash, #initialize, #install, #local_specs, #specs, #to_lock, #to_s
Methods inherited from Source
#add_dependency_names, #cached!, #can_lock?, #dependency_names_to_double_check, #double_check_for, #extension_cache_path, #identifier, #include?, #inspect, #local!, #local_only!, #path?, #prefer_local!, #remote!, #spec_names, #unmet_deps, #version_message
Constructor Details
This class inherits a constructor from Bundler::Source::Path
Instance Method Details
#eql?(other) ⇒ Boolean Also known as: ==
11 12 13 14 15 |
# File 'lib/bundler/plugin/installer/path.rb', line 11 def eql?(other) return unless other.class == self.class == other. && version == other.version end |
#generate_bin(spec, disable_extensions = false) ⇒ Object
19 20 21 22 |
# File 'lib/bundler/plugin/installer/path.rb', line 19 def generate_bin(spec, disable_extensions = false) # Need to find a way without code duplication # For now, we can ignore this end |
#root ⇒ Object
7 8 9 |
# File 'lib/bundler/plugin/installer/path.rb', line 7 def root SharedHelpers.in_bundle? ? Bundler.root : Plugin.root end |