Class: AgentXmpp::Xmpp::XDataInstructions

Inherits:
Element show all
Defined in:
lib/agent_xmpp/xmpp/x_data.rb

Overview


Instance Method Summary collapse

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(instructions = nil) ⇒ XDataInstructions

.….….….….….….….….….….….….….….….….….….….….….….….….….



239
240
241
242
# File 'lib/agent_xmpp/xmpp/x_data.rb', line 239

def initialize(instructions=nil)
  super()
  add_text(instructions)
end

Instance Method Details

#instructionsObject

.….….….….….….….….….….….….….….….….….….….….….….….….….



250
251
252
# File 'lib/agent_xmpp/xmpp/x_data.rb', line 250

def instructions
  text
end

#to_sObject

.….….….….….….….….….….….….….….….….….….….….….….….….….



245
246
247
# File 'lib/agent_xmpp/xmpp/x_data.rb', line 245

def to_s
  text.to_s
end