method

fetch_uri

ruby latest stable - Class: Bundler::Fetcher::Base

Method not available on this version

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

fetch_uri()
public

No documentation available.

# File lib/bundler/fetcher/base.rb, line 21
      def fetch_uri
        @fetch_uri ||= begin
          if remote_uri.host == "rubygems.org"
            uri = remote_uri.dup
            uri.host = "index.rubygems.org"
            uri
          else
            remote_uri
          end
        end
      end