# File rexml/element.rb, line 531 def delete_attribute(key) attr = @attributes.get_attribute(key) attr.remove unless attr.nil? end