Class: Net::IMAP::Address

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

Overview

Net::IMAP::Address represents electronic mail addresses.

Fields:

name

Returns the phrase from [RFC-822] mailbox.

route

Returns the route from [RFC-822] route-addr.

mailbox

nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part

host

nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name.

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



1694
1695
1696
# File 'lib/net/imap.rb', line 1694

def host
  @host
end

#mailboxObject

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



1694
1695
1696
# File 'lib/net/imap.rb', line 1694

def mailbox
  @mailbox
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



1694
1695
1696
# File 'lib/net/imap.rb', line 1694

def name
  @name
end

#routeObject

Returns the value of attribute route

Returns:

  • (Object)

    the current value of route



1694
1695
1696
# File 'lib/net/imap.rb', line 1694

def route
  @route
end