Class: Bundler::Plugin::Installer::Path
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::Bundler::Source::Path,
Source
|
|
|
Instance Chain:
self,
::Bundler::Source::Path,
Source
|
|
| Inherits: |
Bundler::Source::Path
|
| Defined in: | lib/bundler/plugin/installer/path.rb |
Constant Summary
::Bundler::Source::Path - Inherited
Class Method Summary
::Bundler::Source::Path - Inherited
Instance Attribute Summary
::Bundler::Source::Path - Inherited
| #name, #name=, #options, #path, #root_path, | |
| #to_gemfile | Alias for Source::Path#path. |
| #version, #original_path, #has_app_cache? | |
Instance Method Summary
-
#==(other)
Alias for #eql?.
- #eql?(other) ⇒ Boolean (also: #==)
- #generate_bin(spec, disable_extensions = false)
- #root
::Bundler::Source::Path - Inherited
Constructor Details
This class inherits a constructor from Bundler::Source::Path
Instance Method Details
#==(other)
Alias for #eql?.
# File 'lib/bundler/plugin/installer/path.rb', line 17
alias_method :==, :eql?
#eql?(other) ⇒ Boolean
Also known as: #==
# 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)
[ GitHub ]# 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
[ GitHub ]# File 'lib/bundler/plugin/installer/path.rb', line 7
def root SharedHelpers.in_bundle? ? Bundler.root : Plugin.root end