class Nokogiri::CSS::Parser

def cache_on?

Experimental RBS support (using type sampling data from the type_fusion project).

def cache_on?: () -> true

This signature was generated using 1 sample from 1 application.

Return a thread-local boolean indicating whether the CSS-to-XPath cache is active. (Default is `true`.)
def cache_on?
  !Thread.current[CACHE_SWITCH_NAME]
end