Results for: "minmax"

No documentation available

Sanitize a single string.

Returns an array with bindir attached to each executable in the executables list

Returns the full path to installed gem’s bin directory.

NOTE: do not confuse this with bindir, which is just ‘bin’, not a full path.

Returns the full path to an executable named name in this gem.

Duplicates array_attributes from other_spec so state isn’t shared.

Sets the rubygems_version to the current RubyGems version.

No documentation available

Issues a warning for each file to be packaged which is world-readable.

Implementation for Specification#validate_permissions

Uninstalls gem spec

Regenerates plugin wrappers after removal.

No documentation available

Display a warning on stderr. Will ask question if it is not nil.

raise InvalidURIError

do nothing

Checks the user and password.

If password is not provided, then user is split, using URI::Generic.split_userinfo, to pull user and +password.

See also URI::Generic.check_user, URI::Generic.check_password.

Protected setter for the user component, and password if available (with validation).

See also URI::Generic.userinfo=.

Returns the userinfo ui as [user, password] if properly formatted as ‘user:password’.

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.

Returns the RFC822 e-mail text equivalent of the URL, as a String.

Example:

require 'uri'

uri = URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr")
uri.to_mailtext
# => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n"

Returns Regexp that is default self.regexp[:ABS_URI_REF], unless schemes is provided. Then it is a Regexp.union with self.pattern[:X_ABS_URI].

Constructs the default Hash of patterns.

Constructs the default Hash of Regexp’s.

Returns Regexp that is default self.regexp[:ABS_URI_REF], unless schemes is provided. Then it is a Regexp.union with self.pattern[:X_ABS_URI].

Constructs the default Hash of patterns.

Search took: 5ms  ·  Total Results: 1759