instance method
Gem::BasicSpecification#base_dir_priority
base_dir_priority(gem_path)
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/basic_specification.rb, line 107
def base_dir_priority(gem_path)
gem_path.index(base_dir) || gem_path.size
end
Gems higher up in gem_path take precedence