Class: Pdfrb::Model::Type::RelatedFilesArray
- Defined in:
- lib/pdfrb/model/type/misc_helpers.rb
Overview
FileSpec /RelatedFiles array (s7.11.3.2, deprecation era): alternating file-name strings and file streams.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from PdfArray
#<<, #==, #[], #[]=, apply_arlington_definition, arlington_definition, #delete_at, #each, element_field, #empty?, #initialize, #inspect, #length, #push, #to_a
Methods included from Cos::ArlingtonBacked
Methods inherited from Object
#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type
Constructor Details
This class inherits a constructor from Pdfrb::Model::PdfArray
Instance Method Details
#each_pair ⇒ Object
138 139 140 141 142 143 144 |
# File 'lib/pdfrb/model/type/misc_helpers.rb', line 138 def each_pair return enum_for(:each_pair) unless block_given? (0...size).step(2) do |i| yield self[i], self[i + 1] end end |