Thinreports_sample is a project mainly written in Ruby, it's free.
ThinReportsを試してみたサンプルです。
Rubyで帳票を作るのに便利そうなツール ThinReports(http://www.thinreports.org/) のサンプルです。
レポート定義ファイルとそれを利用してpdfを作成するプログラムです。