Class: Jabber::PubSub::Item
- Inherits:
-
XMPPElement
- Object
- REXML::Element
- XMPPElement
- Jabber::PubSub::Item
- Defined in:
- lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/item.rb
Overview
Item One PubSub Item
Direct Known Subclasses
Instance Method Summary collapse
- #id ⇒ Object
- #id=(myid) ⇒ Object
-
#initialize(id = nil) ⇒ Item
constructor
A new instance of Item.
Methods inherited from XMPPElement
class_for_name_xmlns, #clone, force_xmlns, force_xmlns?, import, 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
#initialize(id = nil) ⇒ Item
Returns a new instance of Item.
14 15 16 17 |
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/item.rb', line 14 def initialize(id=nil) super() attributes['id'] = id end |