module Blather::Stanza::Presence::MUC::InstanceMethods
Public Instance Methods
inherit(node)
click to toggle source
Calls superclass method
# File lib/blather/stanza/presence/muc.rb, line 15 def inherit(node) muc.remove super self end
muc()
click to toggle source
# File lib/blather/stanza/presence/muc.rb, line 21 def muc unless muc = find_first('ns:x', :ns => MUC.registered_ns) self << (muc = XMPPNode.new('x', self.document)) muc.namespace = self.class.registered_ns end muc end