public Method

Tag.find(conditions)

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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.