Class: Place

Inherits:
REXML::Element show all
Defined in:
lib/gems/xmpp4r-0.4/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/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/adventure/world.rb', line 265

def initialize
  super('place')
end

Instance Method Details

#inameObject



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

def iname
  attributes['name']
end