Hi Steve,

C-level blocks are not yet supported. But this is something we could do in the 
next release, 0.7! Could you file a bug so that we do not forget about it?

Thanks,

Laurent

On May 12, 2010, at 11:36 PM, steve ross wrote:

> I was thinking syntax like:
> 
>    open_panel = NSOpenPanel.openPanel
>    open_panel.beginSheetModalForWindow(@main_window,
>      completionHandler:lambda{|arg| "Yo, open file and user arg is #{arg}")
> 
> would be pretty sensible. But it seems not to be. Any hints?
> _______________________________________________
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to