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.2.0-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.2.0 lib/libxml/reader.rb
libxml-ruby-2.1.2-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.1.2 lib/libxml/reader.rb
libxml-ruby-2.1.1-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.1.1 lib/libxml/reader.rb
libxml-ruby-2.1.0-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.1.0 lib/libxml/reader.rb
libxml-ruby-2.0.9-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.0.9 lib/libxml/reader.rb
libxml-ruby-2.0.6-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.0.6 lib/libxml/reader.rb
libxml-ruby-2.0.5-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.0.5 lib/libxml/reader.rb
libxml-ruby-2.0.4-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.0.4 lib/libxml/reader.rb
libxml-ruby-2.0.3-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.0.3 lib/libxml/reader.rb
libxml-ruby-2.0.2-x86-mingw32 lib/libxml/reader.rb
libxml-ruby-2.0.2 lib/libxml/reader.rb