Class: Net::IMAP::Namespace

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap/response_data.rb

Overview

Net::IMAP::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 collapse

Instance Attribute Details

#delimObject

Returns the value of attribute delim

Returns:

  • (Object)

    the current value of delim



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

def delim
  @delim
end

#extensionsObject

Returns the value of attribute extensions

Returns:

  • (Object)

    the current value of extensions



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

def extensions
  @extensions
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



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

def prefix
  @prefix
end