Fujimoto Hisa
hisa****@fobj*****
Tue Jan 9 10:30:22 JST 2007
Hi jean-pierre On 2007/01/09, at 10:07, jeanp****@gmail***** wrote: > > obj._ :mySuperMethod > > # => Can't get Objective-C method signature for selector '_' > > The #_ sugary method is not part of the release :) > > okay, i was poking through the samples to see how objc_send was > intended to be used and found that =) To use this sugar in your app, you might define it in rb_main.rb: require 'osx/cocoa' module OSX module OCObjWrapper alias _ objc_send end end ... def rb_main ... I like this sugar as well, so i may use this way sometimes. note that using '_' may be collision with ruby-gettext. thanks, -- hisa