Method: PdfEditor::Bundle#post_init
- Defined in:
- lib/pdf_editor/bundle.rb
#post_init ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/pdf_editor/bundle.rb', line 13 def post_init @resources = args.fetch(:resources, []) @ready_for_toc = [] @table_of_contents = nil @title = args.fetch(:title, '') @with_toc = args.fetch(:with_toc, true) @with_title_pages = args.fetch(:with_title_pages, true) end |