From: Andreas Warberg Date: 2008-05-30T21:31:47+09:00 Subject: Re: Proc multiple returns? Ryan Lewis wrote: > The code will look like this: > HTML::body { > "blahblah" > HTML::h1 { > "zomg headers" > } > } > > Assuming HTML::h1 returns "

zomg headers

", HTML::body will only > return "

zomg headers

". > But I need it to return ["blahblah", "

zomg headers

"] Maybe you should look into Ruby CGI. Its a part of the standard library: http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/index.html Here is a good introduction: http://coolnamehere.com/geekery/ruby/web/cgi.html Andreas -- Posted via http://www.ruby-forum.com/.