World's simplest code generator in ruby?

There is an .asp application on the internet which calls itself the
World’s simplest code generator it can be found here:

http://secretgeek.net/wscg.asp

I’m currently implementing this in a windows forms application in
vb.net.
( in a different way I’m doing it in code not in xml / xsl )

And I’m wondering if it would be a lot more elegant to do it in ruby and
how
such a tool would benefit from being written in Ruby.

Anyone care to show me the light ?

Or are there perhaps ruby implementation of such a beast allready out
there
in ruby ?