Class: Jabber::Dataforms::XDataInstructions
- Inherits:
-
REXML::Element
- Object
- REXML::Element
- Jabber::Dataforms::XDataInstructions
- Defined in:
- lib/xmpp4r/dataforms/x/data.rb
Overview
Child of XData, contains the instructions of this Data Form
Instance Method Summary collapse
-
#initialize ⇒ XDataInstructions
constructor
A new instance of XDataInstructions.
- #instructions ⇒ Object
- #to_s ⇒ Object
Methods inherited from REXML::Element
#delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add
Constructor Details
#initialize ⇒ XDataInstructions
Returns a new instance of XDataInstructions.
94 95 96 |
# File 'lib/xmpp4r/dataforms/x/data.rb', line 94 def initialize super('instructions') end |
Instance Method Details
#instructions ⇒ Object
100 101 102 |
# File 'lib/xmpp4r/dataforms/x/data.rb', line 100 def instructions text end |
#to_s ⇒ Object
97 98 99 |
# File 'lib/xmpp4r/dataforms/x/data.rb', line 97 def to_s text.to_s end |