Results for: "to_proc"

Implement the pretty print interface for Location.

Implement the pretty print interface for Token.

No documentation available
No documentation available

A recommended version for use with a ~> Requirement.

Return a progress reporter object chosen from the current verbosity.

Args

oth

URI or String

Description

Calculates relative path from oth to self.

Usage

require 'uri'

uri = URI.parse('http://my.example.com/main.rbx?page=1')
uri.route_from('http://my.example.com')
#=> #<URI::Generic /main.rbx?page=1>

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.

For the given source, parses with prism and returns a list of all of the sets of local variables that were encountered.

Returns true if this process is stopped, and if the corresponding wait call had the Process::WUNTRACED flag set, false otherwise.

Returns the number of the signal that caused the process to stop, or nil if the process is not stopped.

Returns the last win32 socket Error of the current executing Thread or nil if none

Sets the last win32 socket Error of the current executing Thread to error

MRI specific feature

Return all reachable objects from root.

Compile a ProgramNode node

Dispatch enter and leave events for ProgramNode nodes and continue walking the tree.

Copy a ProgramNode node

Visit a ProgramNode node.

No documentation available

Prefix and suffix the program filename the same as ruby.

No documentation available

Sets header 'Proxy-Authorization' using the given account and password strings:

req.proxy_basic_auth('my_account', 'my_password')
req['Proxy-Authorization']
# => "Basic bXlfYWNjb3VudDpteV9wYXNzd29yZA=="
No documentation available

Add the –http-proxy option

No documentation available
Search took: 4ms  ·  Total Results: 1894