# File lib/active_support/xml_mini/libxml.rb, line 93 def attributes_to_hash(hash={}) each_attr { |attr| hash[attr.name] = attr.value } hash end