Class: Jabber::Dataforms::XDataTitle
- Inherits:
-
REXML::Element
- Object
- REXML::Element
- Jabber::Dataforms::XDataTitle
- Defined in:
- lib/xmpp4r/dataforms/x/data.rb
Overview
Child of XData, contains the title of this Data Form
Instance Method Summary collapse
-
#initialize ⇒ XDataTitle
constructor
A new instance of XDataTitle.
- #title ⇒ 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 ⇒ XDataTitle
Returns a new instance of XDataTitle.
80 81 82 |
# File 'lib/xmpp4r/dataforms/x/data.rb', line 80 def initialize super('title') end |
Instance Method Details
#title ⇒ Object
86 87 88 |
# File 'lib/xmpp4r/dataforms/x/data.rb', line 86 def title text end |
#to_s ⇒ Object
83 84 85 |
# File 'lib/xmpp4r/dataforms/x/data.rb', line 83 def to_s text.to_s end |