method

cached_path

ruby latest stable - Class: Bundler::Source::Rubygems

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

cached_path(spec)
protected

No documentation available.

# File lib/bundler/source/rubygems.rb, line 317
      def cached_path(spec)
        possibilities = @caches.map {|p| "#{p}/#{spec.file_name}" }
        possibilities.find {|p| File.exist?(p) }
      end