class Net::IMAP::MailboxList - net-imap: Ruby Standard Library Documentation

# class Net::IMAP::MailboxList

`Net::IMAP::MailboxList` represents contents of the LIST response, representing a single mailbox path.

`Net::IMAP#list` returns an array of `MailboxList` objects.

### Public Instance Methods

attr → array of Symbols click to toggle source

Returns the name attributes. Each name attribute is a symbol capitalized by String#capitalize, such as :Noselect (not :NoSelect). For the semantics of each attribute, see:

- Basic Mailbox Attributes at `Net::IMAP`

- Mailbox role Attributes at `Net::IMAP`

- SPECIAL-USE at `Net::IMAP`

- The IANA IMAP Mailbox Name Attributes registry

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 390

delim → single character string click to toggle source

Returns the hierarchy delimiter for the mailbox path.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 403

name → string click to toggle source

Returns the mailbox name.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 409