Results for: "match"

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

See IO.foreach when path is a file.

See Dir.foreach when path is a directory.

Returns a Echo object, for the given strings

Returns a Cat object, for the given filenames

Returns a Concat object, for the given jobs

Iterates a block for each line.

No documentation available
No documentation available
No documentation available
No documentation available

Args

v

String

Description

Public setter for the scheme component v (with validation).

See also URI::Generic.check_scheme.

Usage

require 'uri'

uri = URI.parse("http://my.example.com")
uri.scheme = "https"
uri.to_s  #=> "https://my.example.com"

Args

v

String

Description

Public setter for the path component v (with validation).

See also URI::Generic.check_path.

Usage

require 'uri'

uri = URI.parse("http://my.example.com/pub/files")
uri.path = "/faq/"
uri.to_s  #=> "http://my.example.com/faq/"

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 true if URI does not have a scheme (e.g. http:// or https://) specified.

Returns normalized URI.

require 'uri'

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

Normalization here means:

Destructive version of normalize.

Returns attributes.

Setter for attributes val.

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

Search took: 4ms  ·  Total Results: 2165