Method: Origami::PDF#Catalog
- Defined in:
- lib/origami/catalog.rb
#Catalog ⇒ Object
Returns the current Catalog Dictionary.
40 41 42 43 44 45 |
# File 'lib/origami/catalog.rb', line 40 def Catalog cat = trailer_key(:Root) raise InvalidPDFError, "Broken catalog" unless cat.is_a?(Catalog) cat end |