Class: PDF::Hash
- Inherits:
-
Reader::ObjectHash
- Object
- Reader::ObjectHash
- PDF::Hash
- Defined in:
- lib/pdf/hash.rb
Overview
This class is deprecated, please stop using it.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Reader::ObjectHash
#default, #pdf_version, #sec_handler, #trailer
Instance Method Summary collapse
-
#initialize(input) ⇒ Hash
constructor
:nodoc:.
- #version ⇒ Object
Methods inherited from Reader::ObjectHash
#[], #deref!, #each, #each_key, #each_value, #empty?, #encrypted?, #fetch, #has_key?, #has_value?, #keys, #obj_type, #object, #page_references, #sec_handler?, #size, #stream?, #to_a, #to_s, #values, #values_at
Constructor Details
#initialize(input) ⇒ Hash
:nodoc:
6 7 8 9 |
# File 'lib/pdf/hash.rb', line 6 def initialize(input) warn "DEPRECATION NOTICE: PDF::Hash has been deprecated, use PDF::Reader::ObjectHash instead" super end |
Instance Method Details
#version ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/pdf/hash.rb', line 11 def version warn <<-EOS DEPRECATION NOTICE: PDF::Hash#version has been deprecated, use PDF::Reader::ObjectHash#pdf_version instead EOS pdf_version end |