Class: Proselytism::Converters::PdfImages
- Defined in:
- lib/proselytism/converters/pdf_images.rb
Defined Under Namespace
Classes: Error
Instance Method Summary collapse
Methods inherited from Base
#convert, #destination_file_path, #execute
Instance Method Details
#perform(origin, options = {}) ⇒ Object
7 8 9 10 11 |
# File 'lib/proselytism/converters/pdf_images.rb', line 7 def perform(origin, ={}) command = "cd #{[:dir]} && pdfimages #{origin} 'img' 2>&1" execute command Dir.glob(File.join([:dir], '*')) end |