Sha256: 65fde2937b89a19be6e4819fde00175ffad1719022d9fb0db0191efe155a35c7
Contents?: true
Size: 543 Bytes
Versions: 61
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true module Nokogiri module HTML4 module SAX ### # Context for HTML SAX parsers. This class is usually not instantiated by the user. Instead, # you should be looking at Nokogiri::HTML4::SAX::Parser class ParserContext < Nokogiri::XML::SAX::ParserContext def self.new(thing, encoding = "UTF-8") if [:read, :close].all? { |x| thing.respond_to?(x) } super else memory(thing, encoding) end end end end end end
Version data entries
61 entries across 61 versions & 4 rubygems