Class: Origami::ExternalStream
Overview
Class representing an external Stream.
Constant Summary
Constants inherited from Stream
Constants included from StandardObject
StandardObject::DEFAULT_ATTRIBUTES
Constants included from Object
Instance Attribute Summary
Attributes inherited from Stream
Attributes included from Object
#file_offset, #generation, #no, #objstm_offset, #parent
Instance Method Summary collapse
-
#initialize(filespec, hash = {}) ⇒ ExternalStream
constructor
A new instance of ExternalStream.
Methods inherited from Stream
#[], #[]=, #data, #data=, #decode!, #each_key, #encode!, #method_missing, parse, #post_build, #pre_build, #rawdata, #rawdata=, #real_type, #set_predictor, #to_obfuscated_str, #to_s, #value
Methods included from StandardObject
#do_type_check, #has_field?, included, #pdf_version_required, #pre_build, #set_default_value, #set_default_values
Methods included from Object
#<=>, #copy, #indirect_parent, #is_indirect?, parse, #pdf, #pdf_version_required, #post_build, #pre_build, #reference, #set_indirect, #set_pdf, #size, skip_until_next_obj, #solve, #to_o, #to_s, #type, typeof, #xrefs
Constructor Details
#initialize(filespec, hash = {}) ⇒ ExternalStream
Returns a new instance of ExternalStream.
392 393 394 395 396 |
# File 'lib/origami/stream.rb', line 392 def initialize(filespec, hash = {}) hash[:F] = filespec super('', hash) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Origami::Stream