Class: Place

Inherits:
REXML::Element show all
Defined in:
lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/adventure/world.rb

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

#initializePlace

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

#inameObject



269
270
271
# File 'lib/vendor/xmpp4r/data/doc/xmpp4r/examples/advanced/adventure/world.rb', line 269

def iname
  attributes['name']
end