class Nokogiri::XML::Document
def decorate(node)
#
def decorate(node) return unless @decorators @decorators.each do |klass, list| next unless node.is_a?(klass) list.each { |moodule| node.extend(moodule) } end end
def decorate(node) return unless @decorators @decorators.each do |klass, list| next unless node.is_a?(klass) list.each { |moodule| node.extend(moodule) } end end