Your IP : 216.73.216.5


Current Path : /opt/alt/ruby34/share/gems/gems/bundler-2.6.7/lib/bundler/plugin/installer/
Upload File :
Current File : //opt/alt/ruby34/share/gems/gems/bundler-2.6.7/lib/bundler/plugin/installer/path.rb

# frozen_string_literal: true

module Bundler
  module Plugin
    class Installer
      class Path < Bundler::Source::Path
        def root
          SharedHelpers.in_bundle? ? Bundler.root : Plugin.root
        end

        def eql?(other)
          return unless other.class == self.class
          expanded_original_path == other.expanded_original_path &&
            version == other.version
        end

        alias_method :==, :eql?

        def generate_bin(spec, disable_extensions = false)
          # Need to find a way without code duplication
          # For now, we can ignore this
        end
      end
    end
  end
end