init_pair

init_pair(pair, f, b) Class Public methods Changes the definition of a color-pair. It takes three arguments: the number of the color-pair to be changed pair, the foreground color number f, and the background color number b. If the color-pair was previously initialized, the screen is refreshed and all occurrences of that color-pair are changed to the new definition.

find_proxy

find_proxy() Instance Public methods 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. 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 varia

libcheck_for_tclConfig

libcheck_for_tclConfig(tcldir, tkdir, tclconf, tkconf) Instance Public methods

close

close() Instance Public methods Closes the connection. Further operations are impossible until you open a new connection with connect.

constantize_blockname

constantize_blockname(name) Instance Public methods

new

new(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil) Class Public methods Creates a new Net::HTTP object without opening a TCP connection or HTTP session. The address should be a DNS hostname or IP address, the port is the port the server operates on. If no port is given the default port for HTTP or HTTPS is used. If none of the p_ arguments are given, the proxy host and port are taken from the http_proxy environment variable (or its uppercase equivale

notify

notify(keyword) Instance Public methods

update_all

update_all(updates) Instance Public methods Updates all records with details given if they match a set of conditions supplied, limits and order can also be supplied. This method constructs a single SQL UPDATE statement and sends it straight to the database. It does not instantiate the involved models and it does not trigger Active Record callbacks or validations. Parameters updates - A string, array, or hash representing the SET part of an SQL statement. Examples # Update all cu

find_all

find_all(req) Instance Public methods Return an array of APISpecification objects matching DependencyRequest req.

encode

str.encode(encoding [, options] ) â strstr.encode(dst_encoding, src_encoding [, options] ) â strstr.encode([options]) â str Instance Public methods The first form returns a copy of str transcoded to encoding encoding. The second form returns a copy of str transcoded from src_encoding to dst_encoding. The last form returns a copy of str transcoded to Encoding.default_internal. By default, the first and second form raise Encoding::UndefinedConversionError for characters that a