123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::Namespace

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
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

Instance Attribute Details

#delimsingle character string? (rw)

Returns a hierarchy delimiter character, if it exists.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 562

class Namespace < Struct.new(:prefix, :delim, :extensions)

#extensionsHash[String, Array[String]] (rw)

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

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 562

class Namespace < Struct.new(:prefix, :delim, :extensions)

#prefixString (rw)

Returns the namespace prefix string.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 562

class Namespace < Struct.new(:prefix, :delim, :extensions)