Install
sudo gem install nokogiri
Contribute
github.com/tenderlove/nokogiri

An HTML, XML, SAX, & Reader parser with the ability to search documents via XPath or CSS3 selectors… and much more

Nokogiri

Class Nokogiri::HTML::SAX::ParserContext inherits from Nokogiri::XML::SAX::ParserContext

 

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

Public Class Methods

new(thing, encoding = 'UTF-8') Show Source
# File lib/nokogiri/html/sax/parser_context.rb, line 9 9: def self.new thing, encoding = 'UTF-8' 10: [:read, :close].all? { |x| thing.respond_to?(x) } ? super : 11: memory(thing, encoding) 12: end