class Nokogiri::XML::NodeSet
def add_class(name)
NodeSet.
Add the class attribute +name+ to all Node objects in the
##
def add_class(name) each do |el| el.add_class(name) end self end
def add_class(name) each do |el| el.add_class(name) end self end