Permalink
Browse files

Add explicit gem require statement to examples because gem name and r…

…equire name differ.
  • Loading branch information...
1 parent e55fcca commit fe0922e2e463d60dc1b9552e3118f641112e5740 @robinator committed Mar 15, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.rdoc
View
3 README.rdoc
@@ -10,6 +10,7 @@ Fill out PDF forms with pdftk (http://www.accesspdf.com/pdftk/).
=== FDF creation
+ require 'pdf_forms'
fdf = PdfForms::Fdf.new :key => 'value', :other_key => 'other value'
# use to_fdf if you just want the fdf data, without writing it to a file
puts fdf.to_fdf
@@ -20,6 +21,8 @@ Fill out PDF forms with pdftk (http://www.accesspdf.com/pdftk/).
First get pdftk from http://www.accesspdf.com/pdftk/ and install it.
+ require 'pdf_forms'
+
# adjust the pdftk path to suit your pdftk installation
pdftk = PdfForms.new('/usr/local/bin/pdftk')

0 comments on commit fe0922e

Please sign in to comment.