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 [RFC-2342] namespace.

Namespace = nil / "(" 1*( "(" string SP  (<"> QUOTED_CHAR <"> /
   nil) *(Namespace_Response_Extension) ")" ) ")"

Namespace_Response_Extension = SP string SP "(" string *(SP string)
   ")"

Fields:

prefix

Returns the namespace prefix string.

delim

Returns nil or the hierarchy delimiter character.

extensions

Returns a hash of extension names to extension flag arrays.

Instance Attribute Summary

  • #delim rw

    Namespace represents a single [RFC-2342] namespace.

  • #extensions rw

    Namespace represents a single [RFC-2342] namespace.

  • #prefix rw

    Namespace represents a single [RFC-2342] namespace.

Instance Attribute Details

#delim (rw)

Namespace represents a single [RFC-2342] namespace.

Namespace = nil / "(" 1*( "(" string SP  (<"> QUOTED_CHAR <"> /
   nil) *(Namespace_Response_Extension) ")" ) ")"

Namespace_Response_Extension = SP string SP "(" string *(SP string)
   ")"

Fields:

prefix

Returns the namespace prefix string.

delim

Returns nil or the hierarchy delimiter character.

extensions

Returns a hash of extension names to extension flag arrays.

[ GitHub ]

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

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

#extensions (rw)

Namespace represents a single [RFC-2342] namespace.

Namespace = nil / "(" 1*( "(" string SP  (<"> QUOTED_CHAR <"> /
   nil) *(Namespace_Response_Extension) ")" ) ")"

Namespace_Response_Extension = SP string SP "(" string *(SP string)
   ")"

Fields:

prefix

Returns the namespace prefix string.

delim

Returns nil or the hierarchy delimiter character.

extensions

Returns a hash of extension names to extension flag arrays.

[ GitHub ]

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

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

#prefix (rw)

Namespace represents a single [RFC-2342] namespace.

Namespace = nil / "(" 1*( "(" string SP  (<"> QUOTED_CHAR <"> /
   nil) *(Namespace_Response_Extension) ")" ) ")"

Namespace_Response_Extension = SP string SP "(" string *(SP string)
   ")"

Fields:

prefix

Returns the namespace prefix string.

delim

Returns nil or the hierarchy delimiter character.

extensions

Returns a hash of extension names to extension flag arrays.

[ GitHub ]

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

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