-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.txt
38 lines (22 loc) · 798 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
= flyingsaucer4r
== DESCRIPTION:
The Flying Saucer gem gives JRuby access to the Flying Saucer XHTML renderer.
It also provides Rails integration to simplify sending PDFs generated from
XHTML to the browser.
== SYNOPSIS:
To add Flying Saucer to the JRuby classpath:
require 'flyingsaucer4r'
To use within Rails:
require 'pdffilter'
class ApplicationController < ActionController::Base
after_filter PDFFilter
...
end
Now any request with a :format of 'pdf' will be turned into a PDF using Flying
Saucer on the way out to the browser.
== REQUIREMENTS:
* None (but the Rails integration only makes sense if you are using Rails)
== INSTALL:
jruby -S gem install pbrant-flyingsaucer4r
== LICENSE:
Copyright (c) 2008 Consolidated Court Automation Programs