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.

Eloy
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to