Method: Nokogiri::XML::Node#accept

Defined in:
lib/nokogiri/xml/node.rb

#accept(visitor) ⇒ Object

Accept a visitor. This method calls “visit” on visitor with self.

[View source]

1324
1325
1326
# File 'lib/nokogiri/xml/node.rb', line 1324

def accept(visitor)
  visitor.visit(self)
end