Sha256: 2d11950ba3b963d675c4b47fcda2d7c306e7c78d83cb4277735a95c839e3d9b9

Contents?: true

Size: 511 Bytes

Versions: 5

Compression:

Stored size: 511 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

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

5 entries across 4 versions & 2 rubygems

Version Path
pdf-reader-2.3.0 lib/pdf/hash.rb
pdf-reader-2.2.1 lib/pdf/hash.rb
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.4.0/gems/pdf-reader-2.2.0/lib/pdf/hash.rb
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.5.0/gems/pdf-reader-2.2.0/lib/pdf/hash.rb
pdf-reader-2.2.0 lib/pdf/hash.rb