[MacRuby-devel] Obj-C translation

Eloy Duran eloy.de.enige at gmail.com
Fri Apr 3 01:34:37 PDT 2009

> I think you've translated that a little wrong. This is untested, but  
> I'd suggest trying:
> def webView(sender, didReceiveTitle:title, forFrame:frame)
> 	sender.window.setTitle(title)
> end
> Does that sound right to anybody else? The method name should be the  
> bit after the first ), and before the first :. Everything after that  
> are args.

Yep that's correct.


More information about the MacRuby-devel mailing list