How does it work? gen_bridge_metadata.rb has been modified to detect function-pointer arguments and return value in C functions and Objective-C methods, and provide some additional XML markup. RubyCocoa at runtime detects the markup and will convert Ruby Proc objects into function pointers, by creating intermediate Libffi closures.
RubyCocoa is getting very powerful, it looks like a C bridge now :-)