# File lib/nokogiri/xml/node.rb, line 254 def remove_attribute name attributes[name].remove if key? name end