1、实现ruby中的多线程
# def test1
# n = 1
# if n amp;amp;gt; 10
# puts amp;quot;test1结束amp;quot;
# else
# while true
# sleep 2
# puts n
# n = n + 1
# end
# end ...……
This howto covers seven approaches to generating a PDF document with Rails.
HTMLDOC
PdfWriter
PDF::Writer (Austin Ziegler)
Ruby FPDF
JasperReports
PDF Form Fill
PDFlib and……