Re: [MacRuby-devel] Mapping of Objective-C Blocks to MacRuby

2010-05-13 Thread Laurent Sansonetti
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.op

[MacRuby-devel] Mapping of Objective-C Blocks to MacRuby

2010-05-12 Thread steve ross
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? __