class Nokogiri::HTML::SAX::ParserContext

Nokogiri::HTML::SAX::Parser
by the user. Instead, you should be looking at
Context for HTML SAX parsers. This class is usually not instantiated
##

def self.new thing, encoding = 'UTF-8'

def self.new thing, encoding = 'UTF-8'
  [:read, :close].all? { |x| thing.respond_to?(x) } ?  super :
    memory(thing, encoding)
end