Class: PDF::Extract::ReferenceResolver
- Inherits:
-
Object
- Object
- PDF::Extract::ReferenceResolver
- Defined in:
- lib/pdf/extract/reference_resolver.rb
Instance Attribute Summary collapse
-
#objects ⇒ Object
readonly
Returns the value of attribute objects.
Instance Method Summary collapse
-
#initialize(document:) ⇒ ReferenceResolver
constructor
A new instance of ReferenceResolver.
- #lookup(reference) ⇒ Object
Constructor Details
#initialize(document:) ⇒ ReferenceResolver
Returns a new instance of ReferenceResolver.
7 8 9 |
# File 'lib/pdf/extract/reference_resolver.rb', line 7 def initialize(document:) @objects = document.objects end |
Instance Attribute Details
#objects ⇒ Object (readonly)
Returns the value of attribute objects.
5 6 7 |
# File 'lib/pdf/extract/reference_resolver.rb', line 5 def objects @objects end |