[MacRuby-devel] passing an address as method param
Claudio Poli
masterkain at gmail.com
Fri Oct 3 13:05:30 PDT 2008
hi everyone,
I have this:
urlData = NSURLConnection.sendSynchronousRequest urlRequest,
returningResponse:response, error:error
where
urlRequest is a NSURLRequest
response is a NSURLResponse
error is a NSError
in Objective-C response and error would be &response and &error.
running this in MacRuby gives:
`sendSynchronousRequest:returningResponse:error:': can't convert Ruby
object `NSURLResponse' to Objective-C value of type `^@' (ArgumentError)
thanks.
More information about the MacRuby-devel
mailing list