vmpool, imagepool, templatepool, vnpool, documentpool
# File lib/opennebula/xml_utils.rb, line 67 def characters(s) @value = s end
# File lib/opennebula/xml_utils.rb, line 71 def end_element(name) if @levels[@current].empty? @levels[@current-1][name] = @value || {} else if @levels[@current-1][name] @levels[@current-1][name] = [@levels[@current-1][name], @levels[@current]].flatten else @levels[@current-1][name] = @levels[@current] end @levels[@current] = Hash.new end if name == @elem_name @pool << @levels[0][@elem_name] @current = 0 @levels[0] = Hash.new else @current = @current -1 end end
Generated with the Darkfish Rdoc Generator 2.