A new version of Prawnto is now available!
Significant changes and very welcome additional features!
Updated documentation/links/demos at
http://cracklabs.com/prawnto
A quick rundown of changes:
- options are now specified with the prawnto controller class or
instance method, proving total DRYness in specifying options
- lots of tests now to make sure things keep working the way they
should
- inline/attachment is now set from :inline key and is now true by
default
- :dsl option allows for pure dsl operations by placing template
inside a pdf.instance_eval and provides access to instance variables
by converting to local any you specify.
- uncompiled templates: decided there was no real need to compile
since it was already all ruby code, and since it made other things
more difficult
- experimental .prawnx template: a way to get pure ruby files
templatized with no work (maybe)