lib/grim/pdf.rb in grim-1.3.4 vs lib/grim/pdf.rb in grim-1.3.5

- old
+ new

@@ -13,10 +13,10 @@ # :pdftotext_path - The String path of where to find the pdftotext # binary to use when extracting text # (default: "pdftotext"). # def initialize(path, options = {}) - raise Grim::PdfNotFound unless File.exists?(path) + raise Grim::PdfNotFound unless File.exist?(path) @path = path @pdftotext_path = options[:pdftotext_path] || 'pdftotext' end # Shells out to ghostscript to read the pdf with the pdf_info.ps script