Class: Jabber::MUC::IqQueryMUCAdmin

Inherits:
IqQuery show all
Includes:
XParent
Defined in:
lib/vendor/xmpp4r/lib/xmpp4r/muc/iq/mucadmin.rb

Instance Method Summary collapse

Methods included from XParent

#x

Methods inherited from XMPPElement

class_for_name_xmlns, #clone, force_xmlns, force_xmlns?, import, #initialize, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=

Methods inherited from REXML::Element

#==, #delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add

Constructor Details

This class inherits a constructor from Jabber::XMPPElement

Instance Method Details

#itemsObject



14
15
16
17
18
19
20
# File 'lib/vendor/xmpp4r/lib/xmpp4r/muc/iq/mucadmin.rb', line 14

def items
  r = []
  each_element('item') { |item|
    r << item if item.kind_of? IqQueryMUCAdminItem
  }
  r
end