Skip to content

Commit 39cac51

Browse files
committed
Add comment about options for pdf
1 parent 17a08a4 commit 39cac51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/grim/pdf.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ class Pdf
99
# variables if pdf is found.
1010
#
1111
# path - A String or Path to the pdf
12+
# options - A Hash of options.
13+
# :pdftotext_path - The String path of where to find the pdftotext
14+
# binary to use when extracting text
15+
# (default: "pdftotext").
1216
#
1317
def initialize(path, options = {})
1418
raise Grim::PdfNotFound unless File.exists?(path)

0 commit comments

Comments
 (0)