class Blather::Stanza::Disco

# Disco Base class

Use Blather::Stanza::DiscoInfo or Blather::Stanza::DiscoItems

Public Instance Methods

eql?(o, *fields) click to toggle source

Compare two Disco objects by name, type and category @param [Disco] o the Identity object to compare against @return [true, false]

Calls superclass method
# File lib/blather/stanza/disco.rb, line 26
def eql?(o, *fields)
  super o, *(fields + [:node])
end
node() click to toggle source

Get the name of the node

@return [String] the node name

# File lib/blather/stanza/disco.rb, line 12
def node
  query[:node]
end
node=(node) click to toggle source

Set the name of the node

@param [#to_s] node the new node name

# File lib/blather/stanza/disco.rb, line 19
def node=(node)
  query[:node] = node
end