Method: CombinePDF::PDF#>>

Defined in:
lib/combine_pdf/pdf_public.rb

#>>(data) ⇒ Object

add the pages (or file) to the BEGINNING of the PDF (combine/merge) and RETURNS SELF for nesting operators. for example:

pdf = CombinePDF.new "second_file.pdf"

pdf >> CombinePDF.new "first_file.pdf"

pdf.save "both_files_merged.pdf"
data

is PDF page (Hash), and Array of PDF pages or a parsed PDF object to be added.



288
289
290
# File 'lib/combine_pdf/pdf_public.rb', line 288

def >>(data)
  insert 0, data
end