Class: PDF::Hash
- Inherits:
-
Reader::ObjectHash
- Object
- Reader::ObjectHash
- PDF::Hash
- Defined in:
- lib/pdf/hash.rb
Overview
:nodoc:
Direct Known Subclasses
Constant Summary
Constants inherited from Reader::ObjectHash
Reader::ObjectHash::CACHEABLE_TYPES
Instance Attribute Summary
Attributes inherited from Reader::ObjectHash
#default, #pdf_version, #trailer
Instance Method Summary collapse
-
#initialize(input) ⇒ Hash
constructor
A new instance of Hash.
- #version ⇒ Object
Methods inherited from Reader::ObjectHash
#[], #cacheable?, #each, #each_key, #each_value, #empty?, #fetch, #has_key?, #has_value?, #keys, #obj_type, #object, #page_references, #size, #stream?, #to_a, #to_s, #values, #values_at
Constructor Details
#initialize(input) ⇒ Hash
Returns a new instance of Hash.
5 6 7 8 |
# File 'lib/pdf/hash.rb', line 5 def initialize(input) warn "DEPRECATION NOTICE: PDF::Hash has been deprecated, use PDF::Reader::ObjectHash instead" super end |
Instance Method Details
#version ⇒ Object
10 11 12 13 |
# File 'lib/pdf/hash.rb', line 10 def version warn "DEPRECATION NOTICE: PDF::Hash#version has been deprecated, use PDF::Reader::ObjectHash#pdf_version instead" pdf_version end |