/usr/lib/ruby/vendor_ruby/pdf/hash.rb is in ruby-pdf-reader 1.3.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # 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
|