public Method

Document.find(conditions)

Search the tree for (and return) the first node that matches the given conditions. The conditions are interpreted differently for different node types, see HTML::Text#find and HTML::Tag#find.

Source Code

# File action_controller/vendor/html-scanner/html/document.rb, line 56
def find(conditions)
  @root.find(conditions)
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.