Exception: PDF::Core::Reference::CannotAttachStream Private
- Inherits:
-
StandardError
- Object
- StandardError
- PDF::Core::Reference::CannotAttachStream
- Defined in:
- lib/pdf/core/reference.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
In PDF only dict object can have a stream attached. This exception indicates someone tried to add a stream to another kind of object.
Instance Method Summary collapse
-
#initialize(message = 'Cannot attach stream to a non-dictionary object') ⇒ CannotAttachStream
constructor
private
A new instance of CannotAttachStream.
Constructor Details
#initialize(message = 'Cannot attach stream to a non-dictionary object') ⇒ CannotAttachStream
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.
Returns a new instance of CannotAttachStream.
35 36 37 |
# File 'lib/pdf/core/reference.rb', line 35 def initialize( = 'Cannot attach stream to a non-dictionary object') super end |