Search the tree for (and return) the first node that matches the given conditions. The conditions are interpreted differently for different node types, see HTML::Text#find and HTML::Tag#find.
Source Code
# File action_controller/vendor/html-scanner/html/document.rb, line 56 def find(conditions) @root.find(conditions) end
<code/>and<pre/>for code samples.