method

validate_uri_scheme!

validate_uri_scheme!(uri)
private

No documentation available.

# File lib/bundler/fetcher/downloader.rb, line 76
      def validate_uri_scheme!(uri)
        return if uri.scheme =~ /\Ahttps?\z/
        raise InvalidOption,
          "The request uri `#{uri}` has an invalid scheme (`#{uri.scheme}`). "            "Did you mean `http` or `https`?"
      end