Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > net/imapライブラリ > Net::IMAP::FetchDataクラス > attr
attr
Returns a hash. Each key is a data item name, and each value is its value.
The current data items are:
A form of BODYSTRUCTURE without extension data.
A string expressing the body contents of the specified section.
An object that describes the [MIME-IMB] body structure of a message. See Net::IMAP::BodyTypeBasic, Net::IMAP::BodyTypeText, Net::IMAP::BodyTypeMessage, Net::IMAP::BodyTypeMultipart.
A Net::IMAP::Envelope object that describes the envelope structure of a message.
A array of flag symbols that are set for this message. flag symbols are capitalized by String#capitalize.
A string representing the internal date of the message.
Equivalent to BODY[].
Equivalent to BODY.PEEK[HEADER].
A number expressing the [RFC822] size of the message.
Equivalent to BODY[TEXT].
A number expressing the unique identifier of the message.