Sha256: 2ee971080679eceddf773829acbf4acc9af54f651079a9f7a438be12863d99d7

Contents?: true

Size: 759 Bytes

Versions: 42

Compression:

Stored size: 759 Bytes

Contents

# encoding: UTF-8

module LibXML
  module XML
    class Reader
      def reset_error_handler
        warn('reset_error_handler is deprecated.  Use Error.reset_handler instead')
        Error.reset_handler
      end

      def set_error_handler(&block)
        warn('set_error_handler is deprecated.  Use Error.set_handler instead')
        Error.set_handler(&block)
      end

      # :enddoc:

      def self.walker(doc)
        warn("XML::Reader.walker is deprecated.  Use XML::Reader.document instead")
        self.document(doc)
      end

      def self.data(string, options = nil)
        warn("XML::Reader.data is deprecated.  Use XML::Reader.string instead")
        self.string(string, options)
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
libxml-ruby-2.0.0-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.0.0 lib/libxml/reader.rb