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