This method is deprecated or moved on the latest stable version.
The last existing version (v4.1.8) is shown here.
find(conditions)
public
Search the children of this node for the first node for which #find returns non nil. Returns
the result of the #find call that
succeeded.
# File actionview/lib/action_view/vendor/html-scanner/html/node.rb, line 87
def find(conditions)
conditions = validate_conditions(conditions)
@children.each do |child|
node = child.find(conditions)
return node if node
end
nil
end