Class: EideticPDF::PdfObjects::XRefTable
- Inherits:
-
Array
- Object
- Array
- EideticPDF::PdfObjects::XRefTable
- Defined in:
- lib/epdfo.rb
Overview
cross-reference table, allows quick access to any object in body
Instance Method Summary collapse
Instance Method Details
#size ⇒ Object
385 386 387 |
# File 'lib/epdfo.rb', line 385 def size self.inject(0) { |size, ary| size + ary.size } end |
#to_s ⇒ Object
389 390 391 |
# File 'lib/epdfo.rb', line 389 def to_s "xref\n" << self.map { |entry| entry.to_s }.join end |