kastiglione/konjure — pull request #2 by kibiz0r (2012-08-22 00:49:01+00:00)
Title: define_method implementation for >0 arguments

I think I got it working. And I think I narrowed down the source of the odd behavior to this:

0 Ruby Arguments (implicit self)
Block prototype: id (^block)(id)
Matching ruby proc: lambda { |_self| ... }
Type signature: @@:

1 Ruby Argument (implicit self)
Block prototype: id (^block)(id, id)
Matching ruby proc: lambda { |_self, a| ... }
Type signature: @@:@@

It needs a lot of cleanup, but configuring Xcode and tracking down the mismatch between RM and OC was the hard part, so I don't feel *too* bad about passing this on to you. :P