Results for: "module_function"

Returns the last modification time of the (remote) file. If local is true, it is returned as a local time, otherwise it’s a UTC time.

No documentation available

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

No documentation available
No documentation available

Sends an AUTHENTICATE command to authenticate the client. The auth_type parameter is a string that represents the authentication mechanism to be used. Currently Net::IMAP supports the authentication mechanisms:

LOGIN:: login using cleartext user and password.
CRAM-MD5:: login with cleartext user and encrypted password
           (see [RFC-2195] for a full description).  This
           mechanism requires that the server have the user's
           password stored in clear-text password.

For both of these mechanisms, there should be two args: username and (cleartext) password. A server may not support one or the other of these mechanisms; check capability() for a capability of the form “AUTH=LOGIN” or “AUTH=CRAM-MD5”.

Authentication is done using the appropriate authenticator object: see @@authenticators for more information on plugging in your own authenticator.

For example:

imap.authenticate('LOGIN', user, password)

A Net::IMAP::NoResponseError is raised if authentication fails.

Sends a UNSUBSCRIBE command to remove the specified mailbox name from the server’s set of “active” or “subscribed” mailboxes.

A Net::IMAP::NoResponseError is raised if mailbox cannot be unsubscribed from; for instance, because the client is not currently subscribed to it.

Sends a EXPUNGE command to permanently remove from the currently selected mailbox all messages that have the Deleted flag set.

Provide human-readable stringification of class state.

Provide human-readable stringification of class state.

No documentation available

Provide human-readable stringification of class state.

No documentation available
No documentation available

See OptionParser.reject.

Returns error reason. Override this for I18N.

No documentation available

Sets the resolver timeouts. This may be a single positive number or an array of positive numbers representing timeouts in seconds. If an array is specified, a DNS request will retry and wait for each successive interval in the array until a successful response is received. Specifying nil reverts to the default timeouts:

5, second = 5 * 2 / nameserver_count, 2 * second, 4 * second

Example:

dns.timeouts = 3

Whether an attlist declaration includes the given attribute definition

if attlist_decl.include? "xmlns:foobar"
No documentation available

Returns a copy of this attribute

No documentation available

Make a copy of this object

Examples

c = CData.new( "Some text" )
d = c.clone
d.to_s        # -> "Some text"
No documentation available
No documentation available
Search took: 6ms  ·  Total Results: 3558