This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Mar 11 20:39:37 -0700 2009 | |
| |
CHANGES | Wed Apr 29 12:39:58 -0700 2009 | |
| |
LICENSE | Wed Mar 11 20:39:37 -0700 2009 | |
| |
README.rdoc | Wed Mar 11 20:52:48 -0700 2009 | |
| |
Rakefile | Wed Mar 11 20:39:37 -0700 2009 | |
| |
TODO | Wed Apr 29 12:39:58 -0700 2009 | |
| |
VERSION.yml | Wed Apr 29 12:39:58 -0700 2009 | |
| |
lib/ | Tue Apr 28 21:00:00 -0700 2009 | |
| |
sinatra-prawn.gemspec | Wed Apr 29 12:39:58 -0700 2009 | |
| |
test/ | Wed Apr 29 12:39:58 -0700 2009 |
README.rdoc
sinatra-prawn
sinatra-prawn is an extension for sinatra to enable rendering of pdf files using prawn templates.
Installation
sudo gem install sbfaulkner-sinatra-prawn -s http://gems.github.com
Example
require 'rubygems'
require 'sinatra'
require 'sinatra/prawn'
set :prawn, { :page_layout => :landscape }
get '/' do
content_type 'application/pdf'
prawn :pdf
end
__END__
@@ pdf
pdf.text "Hello world!!!!!"
Legal
| Author: | S. Brent Faulkner <brentf@unwwwired.net> |
| License: | Copyright © 2009 unwwwired.net, released under the MIT license |







