Sha256: 05dff1bcfe5cf84e70161e8f3b39d0d4e17d13026607fdfe43240224d2514d3d

Contents?: true

Size: 481 Bytes

Versions: 10

Compression:

Stored size: 481 Bytes

Contents

# coding: utf-8

module PDF
  # This class is deprecated, please stop using it.
  class Hash < ::PDF::Reader::ObjectHash # :nodoc:
    def initialize(input)
      warn "DEPRECATION NOTICE: PDF::Hash has been deprecated, use PDF::Reader::ObjectHash instead"
      super
    end

    def version
      warn <<-EOS
        DEPRECATION NOTICE: PDF::Hash#version has been deprecated,
        use PDF::Reader::ObjectHash#pdf_version instead
      EOS
      pdf_version
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
pdf-reader-2.1.0 lib/pdf/hash.rb
pdf-reader-2.0.0 lib/pdf/hash.rb
pdf-reader-2.0.0.beta1 lib/pdf/hash.rb
pdf-reader-1.4.1 lib/pdf/hash.rb
pdf-reader-1.4.0 lib/pdf/hash.rb
panjiva-pdf-reader-1.3.0 lib/pdf/hash.rb
pdf-reader-1.3.3 lib/pdf/hash.rb
pdf-reader-1.3.2 lib/pdf/hash.rb
pdf-reader-1.3.1 lib/pdf/hash.rb
pdf-reader-1.3.0 lib/pdf/hash.rb