class Nokogiri::XML::NodeSet
def remove_attr name
##
def remove_attr name each do |el| next unless el.respond_to? :remove_attribute el.remove_attribute(name) end self end
def remove_attr name each do |el| next unless el.respond_to? :remove_attribute el.remove_attribute(name) end self end