method
proxy_uri
v2_6_3 -
Show latest stable
- Class:
Gem::Request
proxy_uri(proxy)public
No documentation available.
# File lib/rubygems/request.rb, line 21
def self.proxy_uri(proxy) # :nodoc:
case proxy
when :no_proxy then nil
when URI::HTTP then proxy
else URI.parse(proxy)
end
end