Module: Nokogiri::CSS
- Defined in:
- lib/nokogiri/css.rb,
lib/nokogiri/css/node.rb,
lib/nokogiri/css/parser.rb,
lib/nokogiri/css/tokenizer.rb,
lib/nokogiri/css/syntax_error.rb,
lib/nokogiri/css/xpath_visitor.rb,
lib/nokogiri/css/generated_parser.rb,
lib/nokogiri/css/generated_tokenizer.rb
Defined Under Namespace
Classes: GeneratedParser, GeneratedTokenizer, Node, Parser, SyntaxError, Tokenizer, XPathVisitor
Class Method Summary collapse
-
.parse(selector) ⇒ Object
Parse this CSS selector in
selector
. -
.xpath_for(selector, options = {}) ⇒ Object
Get the XPath for
selector
.