Sha256: 60e9b98dc171c4b2793daf519d0ccaf77c7e8bc0e3a58ebe99106993fbd34318
Contents?: true
Size: 426 Bytes
Versions: 9
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module DocumentExporter module Pdf class Document < Pdf::Base def export content = super pdf = CombinePDF.parse(content) material_ids = @document.ordered_material_ids material_ids &= @document.gdoc_material_ids material_ids &= included_materials pdf = combine_pdf_for pdf, material_ids pdf.to_pdf end end end end
Version data entries
9 entries across 9 versions & 1 rubygems