# File lib/rubygems/remote_fetcher.rb, line 38
  def initialize(proxy)
    @proxy_uri =
      case proxy
      when :no_proxy then nil
      when nil then get_proxy_from_env
      else URI.parse(proxy.to_str)
      end
  end