Results for: "slice"

Looks up all typeclass DNS resources for name. See getresource for argument details.

Marks this TupleEntry as canceled.

A TupleEntry is dead when it is canceled or expired.

Returns the canceled status.

No documentation available

Return the authoritative instance of the command manager.

Returns self. Allows a CommandManager instance to stand in for the class itself.

True if the backtrace option has been specified, or debug is on.

True if the dependency will not always match the latest version.

Creates a new package that will read or write to the file gem.

True if the requirement will not always match the latest version.

Replaces this SourceList with the sources in other See << for acceptable items in other.

Normalize the list of files so that:

Checks that the specification contains all required fields, and does a very basic sanity check.

Raises InvalidSpecificationException if the spec does not pass the checks..

Does a sanity check on the specification.

Raises InvalidSpecificationException if the spec does not pass the checks.

It also performs some validations that do not raise but print warning messages instead.

Normalize the URI by adding “http://” if it is missing.

Prints a formatted backtrace to the errors stream if backtraces are enabled.

Checks the gem directory for the following potential inconsistencies/problems:

returns a hash of ErrorData objects, keyed on the problem gem’s name.

No documentation available

Replaces self by other URI object.

Returns true if URI is hierarchical.

Description

URI has components listed in order of decreasing significance from left to right, see RFC3986 tools.ietf.org/html/rfc3986 1.2.3.

Usage

require 'uri'

uri = URI.parse("http://my.example.com/")
uri.hierarchical?
#=> true
uri = URI.parse("mailto:joe@example.com")
uri.hierarchical?
#=> false

Returns normalized URI.

require 'uri'

URI("HTTP://my.EXAMPLE.com").normalize
#=> #<URI::HTTP http://my.example.com/>

Normalization here means:

Destructive version of normalize.

Args

v

URI or String

Description

Attempts to parse other URI oth, returns [parsed_oth, self].

Usage

require 'uri'

uri = URI.parse("http://my.example.com")
uri.coerce("http://foo.com")
#=> [#<URI::HTTP http://foo.com>, #<URI::HTTP http://my.example.com>]

Checks if URI has a path. For URI::LDAP this will return false.

Search took: 4ms  ·  Total Results: 1082