Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > net/imapライブラリ > Net::IMAP::Addressクラス
class Net::IMAP::Address
クラスの継承リスト: Net::IMAP::Address < Struct < Enumerable < Object < Kernel < BasicObject
Abstract
Net::IMAP::Address represents electronic mail addresses.
インスタンスメソッド
host
-
nil indicates [RFC822] group syntax. Otherwise, returns [RFC822] domain name.
mailbox
-
nil indicates end of [RFC822] group. If non-nil and host is nil, returns [RFC822] group name. Otherwise, returns [RFC822] local-part
name
-
Returns the phrase from [RFC822] mailbox.
route
-
Returns the route from [RFC822] route-addr.