static public Method

Selector.for_id(id)

Selector.for_id(id)  selector

Creates a new selector for the given id.

Source Code

# File action_controller/vendor/html-scanner/html/selector.rb, line 223
def for_id(id)
  self.new(["#?", id])
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.