Andreas Warberg wrote:
> Ryan Lewis wrote:
>> The code will look like this:
>>   HTML::body {
>>     "blahblah"
>>     HTML::h1 {
>>       "zomg headers"
>>     }
>>   }
>> 
>> Assuming HTML::h1 returns "<h1>zomg headers</h1>", HTML::body will only 
>> return "<h1>zomg headers</h1>".
>> But I need it to return ["blahblah", "<h1>zomg headers</h1>"]
> 
> 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/.