Re: [MacRuby-devel] Invoking a block in MacRuby, instantiated in Objective-C

2011-05-15 Thread Christian Niles
Here's the ticket: https://www.macruby.org/trac/ticket/1280 As I mentioned there, my use case isn't for a Cocoa API -- it's my own API. I'm using MacRuby to test my framework and have written a couple mock implementations in MacRuby to simplify testing. christian. On May 15, 2011, at

Re: [MacRuby-devel] Invoking a block in MacRuby, instantiated in Objective-C

2011-05-15 Thread Laurent Sansonetti
Hi Christian, I think I only implemented Ruby -> ObjC blocks support, not the other way around :) I didn't know Cocoa was exposing APIs returning ObjC blocks yet. Could you file a ticket? I will try to get that fixed in the upcoming release. Thanks, Laurent On May 15, 2011, at 1:42 PM, Christi