Search for all nodes that match the given conditions, and return them as an array.
Source Code
# File action_controller/vendor/html-scanner/html/node.rb, line 104 def find_all(conditions) conditions = validate_conditions(conditions) matches = [] matches << self if match(conditions) @children.each do |child| matches.concat child.find_all(conditions) end matches end
<code/>and<pre/>for code samples.