Prawnto v0.99

1 view
Skip to first unread message

thorny_sun

unread,
Aug 27, 2008, 1:02:33 AM8/27/08
to Prawn
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)

Nicolai Reuschling

unread,
Aug 27, 2008, 10:30:47 AM8/27/08
to Prawn
Hello

you want to update the documentation on prawnto:
You have to pass in :inline => true/false - not the
symbols :true/:false, as currently shown on http://cracklabs.com/prawnto.

Kind regards
Nicolai

thorny_sun

unread,
Aug 27, 2008, 10:58:41 AM8/27/08
to Prawn
thanks for pointing that out!
now fixed.
Reply all
Reply to author
Forward
0 new messages