Method: Nokogiri::CSS::XPathVisitor#config

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

#configObject

:call-seq: config() → Hash

Returns

a Hash representing the configuration of the XPathVisitor, suitable for use as part of the CSS cache key.



74
75
76
# File 'lib/nokogiri/css/xpath_visitor.rb', line 74

def config
  { builtins: @builtins, doctype: @doctype }
end