Class: Jabber::Dataforms::XDataInstructions
- Inherits:
-
XMPPElement
- Object
- REXML::Element
- XMPPElement
- Jabber::Dataforms::XDataInstructions
- Defined in:
- lib/gems/xmpp4r-0.4/lib/xmpp4r/dataforms/x/data.rb
Overview
Child of XData, contains the instructions of this Data Form
Instance Method Summary collapse
-
#initialize(instructions = nil) ⇒ XDataInstructions
constructor
A new instance of XDataInstructions.
- #instructions ⇒ Object
- #to_s ⇒ Object
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(instructions = nil) ⇒ XDataInstructions
Returns a new instance of XDataInstructions.
130 131 132 133 |
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/dataforms/x/data.rb', line 130 def initialize(instructions=nil) super() add_text(instructions) end |