method

get_attributes

rails latest stable - Class: ActiveSupport::XmlMini_JDOM
get_attributes(element)
private

Converts the attributes array of an XML element into a hash. Returns an empty Hash if node has no attributes.

element

XML element to extract attributes from.