On 5 December 2012 11:14, kiran cy <li...@ruby-forum.com> wrote: > Colin Law wrote in post #1087900: >> On 5 December 2012 11:04, kiran cy <li...@ruby-forum.com> wrote: >> >> Please quote the previous message and put your reply inline at >> appropriate points. Remember this is a mailing list not a forum >> (though you may be accessing it via a forum-like interface. Thanks. >> >>> I think that is predefined in pdftk >> >> Can you point me to the docs that make you think that in >> >>> PDF::Toolkit.pdftk(infile output outfile user_pw rails) >> >> that user_pw is predefined in pdftk? >> >> Colin > > http://www.pdflabs.com/docs/pdftk-cli-examples/
As you have coded it ruby will look for a variable or method called user_pw from which to get the value to pass to pdftk. If you want to pass the string user_pw then I guess that you must put "user_pw". Colin > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.