Results for: "OptionParser"

No documentation available

Set the default value of the :verbose option.

See new(). The initial default value is false.

Get the default value of the :verbose option.

Set whether to operate in verbose mode.

In verbose mode, failed calls are logged to stdout.

Get whether the server is in verbose mode.

In verbose mode, failed calls are logged to stdout.

No documentation available

Sends a PROPPATCH request to the path and gets a response, as an HTTPResponse object.

Sends a SEARCH command to search the mailbox for messages that match the given searching criteria, and returns message sequence numbers. keys can either be a string holding the entire search string, or a single-dimension array of search keywords and arguments. The following are some common search criteria; see [IMAP] section 6.4.4 for a full list.

<message set>

a set of message sequence numbers. ‘,’ indicates an interval, ‘:’ indicates a range. For instance, ‘2,10:12,15’ means “2,10,11,12,15”.

BEFORE <date>

messages with an internal date strictly before <date>. The date argument has a format similar to 8-Aug-2002.

BODY <string>

messages that contain <string> within their body.

CC <string>

messages containing <string> in their CC field.

FROM <string>

messages that contain <string> in their FROM field.

NEW

messages with the Recent, but not the Seen, flag set.

NOT <search-key>

negate the following search key.

OR <search-key> <search-key>

“or” two search keys together.

ON <date>

messages with an internal date exactly equal to <date>, which has a format similar to 8-Aug-2002.

SINCE <date>

messages with an internal date on or after <date>.

SUBJECT <string>

messages with <string> in their subject.

TO <string>

messages with <string> in their TO field.

For example:

p imap.search(["SUBJECT", "hello", "NOT", "NEW"])
#=> [1, 6, 7, 8]

Aborts the current mail transaction

No documentation available
No documentation available
No documentation available

Does this dependency require a prerelease?

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 requirement is a prerelease if any of the versions inside of it are prereleases

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

Extensions to build when installing the gem, specifically the paths to extconf.rb-style files used to compile extensions.

These files will be run when the gem is installed, causing the C (or whatever) code to be compiled on the user’s machine.

Usage:

spec.extensions << 'ext/rmagic/extconf.rb'

See Gem::Ext::Builder for information about writing extensions for gems.

Sets extensions to extensions, ensuring it is an array.

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.

Search took: 4ms  ·  Total Results: 3794