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 16
16:       def parse selector
17:         Parser.new.parse selector
18:       end
xpath_for(selector, options={}) click to toggle source
 

Get the XPath for selector.

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.