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:

I’m currently implementing this in a windows forms application in
( 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
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
in ruby ?