From: Gavin Sinclair Date: 2003-09-13T10:21:09+09:00 Subject: Re: HTML generation On Saturday, September 13, 2003, 10:45:10 AM, David wrote: > There's amrita. A great concept, but I'm not too fond of the implementation. Please avoid top-posting. What do you dislike about the implementation? I haven't used it for quite a while, but I understand that after 1.something it became a lot faster. Gavin > 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}." } }