Sha256: 4e7ca44a1bc1890e3368bbd1cf39725ae62f874e57c9937e3b4e8044a9830404

Contents?: true

Size: 484 Bytes

Versions: 4

Compression:

Stored size: 484 Bytes

Contents

require 'sax-machine/handlers/sax_abstract_handler'
require 'nokogiri'

module SAXMachine
  class SAXNokogiriHandler < Nokogiri::XML::SAX::Document
    include SAXAbstractHandler

    alias_method :initialize, :_initialize
    alias_method :characters, :_characters
    alias_method :cdata_block, :_characters
    alias_method :start_element, :_start_element
    alias_method :end_element, :_end_element
    alias_method :error, :_error
    alias_method :warning, :_warning
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sax-machine-1.0.2 lib/sax-machine/handlers/sax_nokogiri_handler.rb
sax-machine-1.0.1 lib/sax-machine/handlers/sax_nokogiri_handler.rb
sax-machine-1.0.0 lib/sax-machine/handlers/sax_nokogiri_handler.rb
sax-machine-0.3.0 lib/sax-machine/handlers/sax_nokogiri_handler.rb