Class: Jabber::Dataforms::XDataInstructions

Inherits:
REXML::Element show all
Defined in:
lib/xmpp4r/dataforms/x/data.rb

Overview

Child of XData, contains the instructions of this Data Form

Instance Method Summary collapse

Methods inherited from REXML::Element

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

Constructor Details

#initializeXDataInstructions

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

#instructionsObject


100
101
102
# File 'lib/xmpp4r/dataforms/x/data.rb', line 100

def instructions
  text
end

#to_sObject


97
98
99
# File 'lib/xmpp4r/dataforms/x/data.rb', line 97

def to_s
  text.to_s
end