Results for: "OptionParser"

Aborts the current mail transaction

Sets the parent of this child to the supplied argument.

other

Must be a Parent object. If this object is the same object as the existing parent of this child, no action is taken. Otherwise, this child is removed from the current parent (if one exists), and is added to the new parent.

Returns

The parent added

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

return the setter for the uri, tag_name pair, or nil.

No documentation available
No documentation available

Ensure path and path with extension are identical.

Unpacks the gem into the given directory.

Indicate if this NameTuple is for a prerelease version.

A version is considered a prerelease if it contains a letter.

Sets userinfo, argument is string like ‘name:pass’.

Args

v

String

Description

Public setter for the user component (with validation).

See also URI::Generic.check_user.

Usage

require 'uri'

uri = URI.parse("http://john:S3nsit1ve@my.example.com")
uri.user = "sam"
uri.to_s  #=> "http://sam:V3ry_S3nsit1ve@my.example.com"

Returns the userinfo, either as ‘user’ or ‘user:password’.

Returns the user component.

Args

v

String

Description

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

See also URI::Generic.check_opaque.

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 extensions.

Setter for extensions val.

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

Setter for headers v.

Services the request req which will fill in the response res. See WEBrick::HTTPServlet::AbstractServlet#service for details.

Search took: 3ms  ·  Total Results: 4416