From: David Corbin Date: 2003-09-13T09:45:10+09:00 Subject: Re: HTML generation There's amrita. A great concept, but I'm not too fond of the implementation. On Friday 12 September 2003 15:57, Philip Mak wrote: > Is there a list of all the different ways of outputting HTML in Ruby > somewhere? > > I can think of using the "puts" statement, eRuby, and CGI. Any others? > e.g.: > > "puts" statement: > > puts "

Hello, world! Your name is #{name}.

" > > eRuby: > >

Hello, world! Your name is <%=name%>.

> > CGI: > > cgi.puts { cgi.p { "Hello, world! Your name is #{cgi.b name}." } } -- David Corbin