Class: Mindee::PDF::ExtractedPDFs
- Inherits:
-
Array
- Object
- Array
- Mindee::PDF::ExtractedPDFs
- Defined in:
- lib/mindee/pdf/extracted_pdfs.rb
Overview
List of extracted PDFs.
Instance Method Summary collapse
-
#save_all_to_disk(output_path) ⇒ Object
Save all extracted PDFs to disk.
Instance Method Details
#save_all_to_disk(output_path) ⇒ Object
Save all extracted PDFs to disk.
13 14 15 16 17 |
# File 'lib/mindee/pdf/extracted_pdfs.rb', line 13 def save_all_to_disk(output_path) each do |pdf| pdf.write_to_file(File.join(output_path.to_s, pdf.filename)) end end |