instance method
Gem::Commands::UnpackCommand#find_in_cache
find_in_cache(filename)
lib/rubygems/commands/unpack_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/unpack_command.rb, line 127
def find_in_cache(filename)
Gem.path.each do |path|
this_path = File.join(path, "cache", filename)
return this_path if File.exist? this_path
end
nil
end