Class: AgentXmpp::Xmpp::Item
- Inherits:
-
Element
- Object
- REXML::Element
- Element
- AgentXmpp::Xmpp::Item
- Defined in:
- lib/agent_xmpp/xmpp/iq_pubsub.rb
Overview
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(id = nil) ⇒ Item
constructor
A new instance of Item.
Methods inherited from Element
#<<, class_for_name_xmlns, #clone, import, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=, xmpp_attribute, xmpp_child
Methods inherited from REXML::Element
#delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add
Constructor Details
#initialize(id = nil) ⇒ Item
Returns a new instance of Item.
188 189 190 191 |
# File 'lib/agent_xmpp/xmpp/iq_pubsub.rb', line 188 def initialize(id=nil) super() self.id = id if id end |