class HTML::Node
def find(conditions)
Search the children of this node for the first node for which #find
def find(conditions) conditions = validate_conditions(conditions) @children.each do |child| node = child.find(conditions) return node if node end nil end