# File lib/active_support/xml_mini/nokogiri.rb, line 66 def attributes_as_hash Hash[*(attribute_nodes.map { |node| [node.node_name, node.value] }.flatten)] end