Project

rose

0.0
No commit activity in last 3 years
No release in over 3 years
A slick Ruby DSL for reporting.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.9
>= 0

Runtime

>= 1.6.3
 Project Readme

Rose

Rose (say it out loud: rows, rows, rows) is a slick Ruby DSL for reporting:

Rose.make(:worlds) do
  rows do
    column(:hello => "Hello")
    column(:world)
  end
end

class World < Struct.new(:hello, :world)
end

Rose(:worlds).bloom([World.new("Say", "what?")]).to_s

+---------------+
| Hello | world |
+---------------+
| Say   | what? |
+---------------+

It integrates with ActiveRecord too!

Install the gem:

gem install rose

Installation and Usage

All documentation is at http://hsume2.github.com/rose

Copyright

Copyright (c) 2010 Henry Hsu. See LICENSE for details.