append

append(mailbox, message, flags = nil, date_time = nil) Instance Public methods Sends a APPEND command to append the message to the end of the mailbox. The optional flags argument is an array of flags to initially passing to the new message. The optional date_time argument specifies the creation time to assign to the new message; it defaults to the current time. For example: imap.append("inbox", <<EOF.gsub(/\n/, "\r\n"), [:Seen], Time.now) Subject: hello From: shugo@ruby-lang

new

new(address) Class Public methods Creates a new AAAA for address.

using_match_shorthand?

using_match_shorthand?(path, options) Instance Public methods

close

close() Instance Public methods

size

size() Instance Public methods Returns the number of Element children of the parent object. doc = Document.new '<a>sean<b/>elliott<b/>russell<b/></a>' doc.root.size #-> 6, 3 element and 3 text nodes doc.root.elements.size #-> 3

find

find() Instance Public methods Iterates over the directory tree in a depth first manner, yielding a Pathname for each file under âthisâ directory. Returns an Enumerator if no block is given. Since it is implemented by the standard library module Find, Find.prune can be used to control the traversal. If self is ., yielded pathnames begin with a filename in the current directory, not ./. See Find.find

delete 2

delete() Instance Public methods

rfc2822

rfc2822(date) Class Public methods Parses date as date-time defined by RFC 2822 and converts it to a Time object. The format is identical to the date format defined by RFC 822 and updated by RFC 1123. ArgumentError is raised if date is not compliant with RFC 2822 or if the Time class cannot represent specified date. See rfc2822 for more information on this format. You must require 'time' to use this method. rfc822

prefix

prefix() Class Public methods

sash_place

sash_place(index, x, y) Instance Public methods