Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined local variable or method `files' in cat method #8

Closed
RevoHoffman opened this issue May 3, 2013 · 0 comments
Closed

undefined local variable or method `files' in cat method #8

RevoHoffman opened this issue May 3, 2013 · 0 comments

Comments

@RevoHoffman
Copy link

Line 68 in /pdf-forms/blob/master/lib/pdf_forms/pdftk_wrapper.rb references the "files" array which is undefined.

You can dupe with:

pdftk = PdfForms.new('/usr/local/bin/pdftk')
pdftk.cat("file1.pdf","file2.pdf","output.pdf")

A quick look at the source indicates that "files" should be "input" instead. I'll try and fix and send a pull request, but wanted to report the issue first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant