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