Afficher un message
Vieux 21/06/2008, 17h52   #10
ara.t.howard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Advice for pluggable architecture


On Jun 20, 2008, at 11:43 AM, Robert Dober wrote:

> Robert you just gave me the "simple" answer to what I really want, and
> you are absolutely right it is almost pure Ruby as it turns out to be
> a DSL.
>
> Here is a simple example
>
> html do
> body do
> headline :level => 1, :text => "The Ultimate Solution To All
> Problems AKA 42"
> table :headers => true, :text => <<-EOT ### And this is the
> point I missed until I tried to answer your mail
> number meaning
> 1 one
> 42 yes
> EOT
> table :from_file => "some_cvs_file", :format => :cvs
> etc.etc.




it's been done for you

http://codeforpeople.com/lib/ruby/ta...z-4.2.0/README

;-)


a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being
better. simply reflect on that.
h.h. the 14th dalai lama




  Réponse avec citation
 
Page generated in 0,04569 seconds with 9 queries