class Net::IMAP

def capabilities

Related: #capable?, #auth_capable?, #auth_mechanisms, #capability, #enable

See Net::IMAP@Capabilities for more about \IMAP capabilities.

behaviour according to the server's advertised #capabilities.
*NOTE:* Most Net::IMAP methods do not _currently_ modify their

To ensure a case-insensitive comparison, #capable? can be used instead.

used without sending a new #capability command to the server.
Returns the server capabilities. When available, cached capabilities are
def capabilities
  @capabilities || capability
end