Module: Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins

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

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.newObject



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

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