public
Description: A collection of sample programs for the Prawn PDF generation library
Homepage: http://prawn.majesticseacreature.com
Clone URL: git://github.com/sandal/prawn-gallery.git
sandal (author)
Wed Aug 13 10:47:20 -0700 2008
commit  e9b082c8b5c60e28009485d939ec073edb50f1cb
tree    f6296152bd37bd41fe617ee5f6fb1240a0146d8a
parent  6677c954c50cc550ab86254cfdb8d1c39c6d46c4
prawn-gallery / invoice-gtb
name age message
..
file README Mon Aug 04 15:46:43 -0700 2008 Added invoice example. Now what are you cookin... [sandal]
file example.rb Mon Aug 04 15:46:43 -0700 2008 Added invoice example. Now what are you cookin... [sandal]
file invoice.rb Mon Aug 04 15:46:43 -0700 2008 Added invoice example. Now what are you cookin... [sandal]
directory output/ Wed Aug 13 10:47:20 -0700 2008 Tweaks to make things a little more general [sandal]
invoice-gtb/README
A simple invoice example.

Usage:
                     
  # Produces file in output/invoice.pdf
  $ ruby example.rb
  
The relevant Prawn code can be found in invoice.rb.  This demonstrates 
subclassing Prawn::Document, which is a bit of a hack, but cleans some things
up in the implementation.