Method: PDFextract#get_file_from_path
- Defined in:
- lib/pdf_extract.rb
#get_file_from_path(path) ⇒ Object
117 118 119 120 121 |
# File 'lib/pdf_extract.rb', line 117 def get_file_from_path(path) new_path = @base_dir+"/temp-file.pdf" `cp #{path} #{new_path}` return new_path end |