Class: Net::IMAP::Namespace
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | lib/net/imap/response_data.rb |
Overview
Namespace represents a single namespace, contained inside a Namespaces
object.
Required capability
Requires either NAMESPACE [RFC2342]
or IMAP4rev2 capability.
Instance Attribute Summary
-
#delim ⇒ single character string?
rw
Returns a hierarchy delimiter character, if it exists.
-
#extensions ⇒ Hash[String, Array[String]]
rw
A hash of parameters mapped to arrays of strings, for extensibility.
-
#prefix ⇒ String
rw
Returns the namespace prefix string.
Instance Attribute Details
#delim ⇒ single character string? (rw)
Returns a hierarchy delimiter character, if it exists.
# File 'lib/net/imap/response_data.rb', line 562
class Namespace < Struct.new(:prefix, :delim, :extensions)
#extensions ⇒ Hash[String, Array[String]] (rw)
A hash of parameters mapped to arrays of strings, for extensibility. Extension parameter semantics would be defined by the extension.
#prefix ⇒ String (rw)
Returns the namespace prefix string.
# File 'lib/net/imap/response_data.rb', line 562
class Namespace < Struct.new(:prefix, :delim, :extensions)