|
The Jabber ID class is used to hold a parsed
jabber identifier (account+host+resource)
[RW] |
:host |
The host name (or IP address)
|
[RW] |
:node |
The node (account)
|
[RW] |
:resource |
The resource id
|
Constructs a JID from the supplied string of the
format:
node@host[/resource] (e.g. "rich_kilmer@jabber.com/laptop")
id: | [String] The jabber id string to parse
|
Evalutes whether the node, resource and host are the same
other: | [Jabber::JID] The other jabber id
|
return: | [Boolean] True if they match
|
Removes the resource from this JID
Returns the string ("node@host/resource") representation of this
JID
return: | [String] String form of JID
|
Override hash to hash based on the to_s method
|