Results for: "minmax"

Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.

A recommended version for use with a ~> Requirement.

returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining

dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained

No documentation available

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

Implementation for Specification#validate_permissions

Builds and installs the Gem::Specification spec

Uninstalls the Gem::Specification spec

Reads a binary file at path

Install the provided specs

Is this test being run on a Windows platform?

Is this test being run on a Windows platform?

Returns whether or not we’re on a version of Ruby built with VC++ (or Borland) versus Cygwin, Mingw, etc.

Returns whether or not we’re on a version of Ruby built with VC++ (or Borland) versus Cygwin, Mingw, etc.

No documentation available

Uninstalls gem spec

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, unless schemes is provided. Then it is a Regexp.union with self.pattern.

Constructs the default Hash of patterns.

Search took: 5ms  ·  Total Results: 2065