If either the node or any of its children meet the given conditions, the matching node is returned. Otherwise, nil is returned. (See the description of the valid conditions in the match method.)
Source Code
# File action_controller/vendor/html-scanner/html/node.rb, line 331 def find(conditions) match(conditions) && self || super end
<code/>and<pre/>for code samples.