# File lib/rbvmomi/deserialization.rb, line 133 def leaf_keyvalue node h = {} node.children.each do |child| next unless child.element? h[child.name] = child.content end [h['key'], h['value']] end