Module: Nokogiri::CSS::XPathVisitorAlwaysUseBuiltins

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

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.newObject


338
339
340
341
342
343
344
# File 'lib/nokogiri/css/xpath_visitor.rb', line 338

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