Current Path : /usr/local/share/ri/1.8/system/Net/IMAP/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Net/IMAP/status-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a STATUS command, and returns the status of the indicated <tt>mailbox</tt>. <tt>attr</tt> is a list of one or more attributes that we are request the status of. Supported attributes include:" - !ruby/struct:SM::Flow::VERB body: " MESSAGES:: the number of messages in the mailbox.\n RECENT:: the number of recent messages in the mailbox.\n UNSEEN:: the number of unseen messages in the mailbox.\n" - !ruby/struct:SM::Flow::P body: "The return value is a hash of attributes. For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.status("inbox", ["MESSAGES", "RECENT"])\n #=> {"RECENT"=>0, "MESSAGES"=>44}\n" - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if status values for <tt>mailbox</tt> cannot be returned, for instance because it does not exist. full_name: Net::IMAP#status is_singleton: false name: status params: (mailbox, attr) visibility: public