This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

find_proxy

        # URI::Generic.find_proxy

(from ruby core)
### Implementation from Generic
---
    find_proxy(env=ENV)

---

Returns a proxy URI. The proxy URI is obtained from environment
variables such as http_proxy, ftp_proxy, no_proxy, etc. If there is no
proper proxy, nil is returned.

If the optional parameter `env` is specified, it is used instead of ENV.

Note that capitalized variables (HTTP_PROXY, FTP_PROXY, NO_PROXY, etc.)
are examined, too.

But http_proxy and HTTP_PROXY is treated specially under CGI
environment. It's because HTTP_PROXY may be set by Proxy: header. So
HTTP_PROXY is not used. http_proxy is not used too if the variable is
case insensitive. CGI_HTTP_PROXY can be used instead.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.