Module: Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins

Defined in:
lib/nokogiri/css/xpath_visitor.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.newObject


348
349
350
351
352
353
354
# File 'lib/nokogiri/css/xpath_visitor.rb', line 348

def self.new
  warn(
    "Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins is deprecated and will be removed in a future version of Nokogiri",
    { uplevel: 1 },
  )
  XPathVisitor.new(builtins: :optimal)
end