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

# class Net::IMAP::Namespace

`Net::IMAP::Namespace` represents a single namespace contained inside a NAMESPACE response.

Returned by `Net::IMAP#namespace`, contained inside a `Namespaces` object.

### Public Instance Methods

delim → single character string or nil click to toggle source

Returns a hierarchy delimiter character, if it exists.

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

extensions → Hash[String, Array[String]] click to toggle source

A hash of parameters mapped to arrays of strings, for extensibility. Extension parameter semantics would be defined by the extension.

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

prefix → string click to toggle source

Returns the namespace prefix string.

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