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