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

No exception if giving a non existing path to PdfForms.new #5

Closed
betelgeuse opened this issue Sep 27, 2012 · 0 comments
Closed

No exception if giving a non existing path to PdfForms.new #5

betelgeuse opened this issue Sep 27, 2012 · 0 comments

Comments

@betelgeuse
Copy link

1.9.3p125 :013 > pdftk = PdfForms.new 'foobar'
 => #<PdfForms::PdftkWrapper:0x000001008ba5a0 @pdftk="foobar", @options={}> 
1.9.3p125 :014 > pdftk.get_field_names 'some_file.pdf'
 => []

Instead of returning an empty array this should raise an exception.

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

2 participants