Method: PDF::Core::ObjectStore#ref
- Defined in:
- lib/pdf/core/object_store.rb
#ref(data) ⇒ Reference
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Wrap an object into a reference.
38 39 40 |
# File 'lib/pdf/core/object_store.rb', line 38 def ref(data) push(size + 1, data) end |