Results for: "String#[]"

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.

Returns the full path to this spec’s ri directory.

Reads a binary file at path

Writes a binary file to path which is relative to +@gemhome+

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.

Constructs a Gem::Resolver::DependencyRequest from a Gem::Dependency dep, a from_name and from_version requesting the dependency and a parent DependencyRequest

No documentation available
No documentation available

Given a gem file’s contents, validates against its own MD5 checksum

gem_data
String

Contents of the gem file

No documentation available

start a job

terminate a job

No documentation available
No documentation available

check the host v component for RFC2396 compliance and against the URI::Parser Regexp for :HOST

Can not have a registry or opaque component defined, with a host component defined.

protected setter for the host component v

see also URI::Generic.host=

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.

Constructs the default Hash of patterns

Constructs the default Hash of Regexp’s

Constructs the default Hash of patterns

Search took: 5ms  ·  Total Results: 2925