Class: AgentXmpp::Xmpp::XDataTitle
- Inherits:
-
Element
- Object
- REXML::Element
- Element
- AgentXmpp::Xmpp::XDataTitle
- Defined in:
- lib/agent_xmpp/xmpp/x_data.rb
Overview
Instance Method Summary collapse
-
#initialize(title = nil) ⇒ XDataTitle
constructor
.….….….….….….….….….….….….….….….….….….….….….….….….….
-
#title ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….….
-
#to_s ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….….
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(title = nil) ⇒ XDataTitle
.….….….….….….….….….….….….….….….….….….….….….….….….….
215 216 217 218 |
# File 'lib/agent_xmpp/xmpp/x_data.rb', line 215 def initialize(title=nil) super() add_text(title) end |
Instance Method Details
#title ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….….
226 227 228 |
# File 'lib/agent_xmpp/xmpp/x_data.rb', line 226 def title text end |
#to_s ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….….
221 222 223 |
# File 'lib/agent_xmpp/xmpp/x_data.rb', line 221 def to_s text.to_s end |