Re: [MacRuby-devel] `bytesize' does not work on NSStrings

2010-08-27 Thread Nick Ludlam
On 27 Aug 2010, at 15:37, Alexander v. Below wrote: > Bonus Question: This is in a Control Tower context, but "env" is always nil. > I want to access the requests parameters (i.e. foo?bar=5). That was easy in > Webrick, but I can not figure out how to do it in Control Tower Your env should mos

[MacRuby-devel] `bytesize' does not work on NSStrings

2010-08-27 Thread Alexander v. Below
Hello List, I am using MacRuby/Control Tower and have another stupid question. In somthing like this def call(env) res = @delegate.testEnvironment(env['REQUEST_PATH']) [200, { 'Content-Type' => 'text/html' }, res ] end I get the run time error: # And indeed, "testEnvironment" does