Returns a new Tms
object obtained by memberwise operation op
of the individual times for this Tms
object with those of the other Tms
object.
op
can be a mathematical operation such as +
, -
, *
, /
Attempt to load the wrapped marshalled object again.
If the class of the object is now known locally, the object will be unmarshalled and returned. Otherwise, a new but identical DRbUnknown
object will be returned.
Get the reference of the object, if local.
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.
Is this server alive?
Is uri
the URI
for this server?
Get the reference of the object, if local.
Returns an array of the eigenvectors
Puts the connection into binary (image) mode, issues the given command, and fetches the data returned, passing it to the associated block in chunks of blocksize
characters. Note that cmd
is a server command (such as “RETR myfile”).
Puts the connection into ASCII (text) mode, issues the given command, and passes the resulting data, one line at a time, to the associated block. If no block is given, prints the lines. Note that cmd
is a server command (such as “RETR myfile”).
Renames a file on the server.
Sends a CREATE command to create a new mailbox
.
A Net::IMAP::NoResponseError
is raised if a mailbox with that name cannot be created.
Sends a RENAME command to change the name of the mailbox
to newname
.
A Net::IMAP::NoResponseError
is raised if a mailbox with the name mailbox
cannot be renamed to newname
for whatever reason; for instance, because mailbox
does not exist, or because there is already a mailbox with the name newname
.
Similar to search()
, but returns message sequence numbers in threaded format, as a Net::IMAP::ThreadMember
tree. The supported algorithms are:
split into single-level threads according to subject, ordered by date.
split into threads by parent/child relationships determined by which message is a reply to which.
Unlike search()
, charset
is a required argument. US-ASCII and UTF-8 are sample values.
See [SORT-THREAD-EXT] for more details.
Starts a POP3
session and iterates over each POPMail
object, yielding it to the block
. This method is equivalent to:
Net::POP3.start(address, port, account, password) do |pop| pop.each_mail do |m| yield m end end
This method raises a POPAuthenticationError
if authentication fails.
Net::POP3.foreach('pop.example.com', 110, 'YourAccount', 'YourPassword') do |m| file.write m.pop m.delete if $DELETE end
returns whether verify_mode is enable from POP3.ssl_params
Resets the session. This clears all “deleted” marks from messages.
This method raises a POPError
if an error occurs.