From: Ryan Lewis Date: 2008-05-30T21:43:36+09:00 Subject: Re: Proc multiple returns? Andreas Warberg wrote: > 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 Yeah I know, I've looked at this before i started makin this. I'm really makin this with intentions to build something better than just an html parser thingy. -- Posted via http://www.ruby-forum.com/.