Class Index [+]

Quicksearch

Nokogiri::CSS

Public Class Methods

parse(selector) click to toggle source
 

Parse this CSS selector in selector. Returns an AST.

    # File lib/nokogiri/css.rb, line 14
14:       def parse selector
15:         Parser.new.parse selector
16:       end
xpath_for(selector, options={}) click to toggle source
 

Get the XPath for selector.

    # File lib/nokogiri/css.rb, line 20
20:       def xpath_for selector, options={}
21:         Parser.new(options[:ns] || {}).xpath_for selector, options
22:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.