finds a value from xml
# File lib/fog/libvirt/models/compute/util.rb, line 10 def document path, attribute=nil return nil if new? xml = REXML::Document.new(@xml_desc) attribute.nil? ? xml.elements[path].text : xml.elements[path].attributes[attribute] end
Generated with the Darkfish Rdoc Generator 2.