Class: Net::IMAP::MailboxList

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap.rb

Overview

Net::IMAP::MailboxList represents contents of the LIST response.

mailbox_list    ::= "(" #("\Marked" / "\Noinferiors" /
                    "\Noselect" / "\Unmarked" / flag_extension) ")"
                    SPACE (<"> QUOTED_CHAR <"> / nil) SPACE mailbox

Fields:

attr

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

delim

Returns the hierarchy delimiter

name

Returns the mailbox name.

Instance Attribute Summary collapse

Instance Attribute Details

#attrObject

Returns the value of attribute attr

Returns:

  • (Object)

    the current value of attr



1544
1545
1546
# File 'lib/net/imap.rb', line 1544

def attr
  @attr
end

#delimObject

Returns the value of attribute delim

Returns:

  • (Object)

    the current value of delim



1544
1545
1546
# File 'lib/net/imap.rb', line 1544

def delim
  @delim
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



1544
1545
1546
# File 'lib/net/imap.rb', line 1544

def name
  @name
end