[MacRuby-devel] Delegate methods defined in modules
lsansonetti at apple.com
Wed May 21 18:11:48 PDT 2008
Should be fixed in r206. Thanks for the report.
On May 21, 2008, at 10:42 AM, Zach Holt wrote:
> #!/usr/bin/env macruby
> framework 'cocoa'
> module AppDelegateModule
> def applicationDidFinishLaunching( n )
> puts "exiting..."
> NSApp.terminate( nil )
> class AppDelegateClass
> include AppDelegateModule
> NSApp.delegate = AppDelegateClass.new
> Hi all,
> I'm porting http://www.paulhammond.org/webkit2png/ as a learning
> Should the above terminate?
> It doesn't on trunk rev 202, but it does if you move
> applicationDidFinishLaunching to AppDelegateClass.
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
More information about the MacRuby-devel