Permalink
Browse files

allow setting of all_fields so using app can cache them if desired

  • Loading branch information...
1 parent d855c7d commit 201deb4f175a90712b594fc931f424006ebb0b6d @twalpole committed Apr 6, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/pdftk/pdf.rb
View
@@ -4,8 +4,9 @@ module Pdftk
class PDF
attr_accessor :path
- def initialize path
+ def initialize path, all_fields=nil
@path = path
+ @_all_fields=all_fields
end
def fields_with_values

0 comments on commit 201deb4

Please sign in to comment.