Sha256: fee6634a44e26d23ead36d9bd8cc0fa97a0c21f0f52616b29693bc33c032e288

Contents?: true

Size: 425 Bytes

Versions: 209

Compression:

Stored size: 425 Bytes

Contents

module Nokogiri
  module HTML
    module SAX
      class PushParser
        def initialize(doc = XML::SAX::Document.new, file_name = nil, encoding = 'UTF-8')
          @document = doc
          @encoding = encoding
          @sax_parser = HTML::SAX::Parser.new(doc, @encoding)

          ## Create our push parser context
          initialize_native(@sax_parser, file_name, @encoding)
        end
      end
    end
  end
end

Version data entries

209 entries across 209 versions & 14 rubygems

Version Path
nokogiri-1.5.2-java lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1-x86-mswin32-60 lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1-x86-mingw32 lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1 lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1-java lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1.rc1-x86-mswin32-60 lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1.rc1-x86-mingw32 lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1.rc1-java lib/nokogiri/html/sax/push_parser.rb
nokogiri-1.5.1.rc1 lib/nokogiri/html/sax/push_parser.rb