Re: [MacRuby-devel] Converting Ruby-style method signatures back to Obj-C style

2010-10-18 Thread Gabriel Gilder
Agreed, it wasn't difficult. I posted a gist with the solution I came up with: http://gist.github.com/633608 I'd love any feedback if I'm doing this in a nonsensical way. :) -Gabriel On Mon, Oct 18, 2010 at 4:27 PM, Laurent Sansonetti wrote: > Hi Gabriel, > > There isn't any way to reconstruc

Re: [MacRuby-devel] Converting Ruby-style method signatures back to Obj-C style

2010-10-18 Thread Laurent Sansonetti
Hi Gabriel, There isn't any way to reconstruct the objc selector. We could expose an API, though, if you file a ticket, but I suspect it's not hard to do. Laurent On Oct 15, 2010, at 2:34 PM, Gabriel Gilder wrote: > Hi all, > > I have a somewhat esoteric problem and I was wondering if anyone

[MacRuby-devel] Converting Ruby-style method signatures back to Obj-C style

2010-10-15 Thread Gabriel Gilder
Hi all, I have a somewhat esoteric problem and I was wondering if anyone had suggestions about how to deal with it. Basically I'm writing a Ruby class that wraps some Objective-C classes and provides a common interface to them, and I'm using method_missing to pass along messages if the wrapped ob