class Nokogiri::HTML::SAX::ParserContext
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
def self.new thing, encoding = 'UTF-8' [:read, :close].all? { |x| thing.respond_to?(x) } ? super : memory(thing, encoding) end