Class: Place
- Inherits:
-
REXML::Element
- Object
- REXML::Element
- Place
- Defined in:
- lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/adventure/world.rb
Instance Method Summary collapse
- #iname ⇒ Object
-
#initialize ⇒ Place
constructor
A new instance of Place.
Methods inherited from REXML::Element
#==, #delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add
Constructor Details
#initialize ⇒ Place
Returns a new instance of Place.
265 266 267 |
# File 'lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/adventure/world.rb', line 265 def initialize super('place') end |
Instance Method Details
#iname ⇒ Object
269 270 271 |
# File 'lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/adventure/world.rb', line 269 def iname attributes['name'] end |