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
#[], #[]=, add_type_info, #cast_to, #data, #data=, #decode!, #each_key, #encode!, guess_type, #method_missing, native_type, parse, #post_build, #pre_build, #rawdata, #rawdata=, #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
#<=>, #cast_to, #copy, #export, #indirect_parent, #is_indirect?, #logicalize, #logicalize!, native_type, #native_type, parse, #pdf, #pdf_version_required, #post_build, #pre_build, #reference, #resolve_all_references, #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.
425 426 427 428 429 |
# File 'lib/origami/stream.rb', line 425 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