Sha256: 324e6456ad0c93dd95230e3f547cd7a989b43e0bf1b2d568aa5455dd57649afc
Contents?: true
Size: 464 Bytes
Versions: 562
Compression:
Stored size: 464 Bytes
Contents
module Nokogiri module XML module SAX ### # Context for XML SAX parsers. This class is usually not instantiated # by the user. Instead, you should be looking at # Nokogiri::XML::SAX::Parser class ParserContext def self.new thing, encoding = 'UTF-8' [:read, :close].all? { |x| thing.respond_to?(x) } ? io(thing, Parser::ENCODINGS[encoding]) : memory(thing) end end end end end
Version data entries
562 entries across 533 versions & 51 rubygems