On 2011-01-10, at 16:47 , Martin Hawkins wrote:
>
> Excellent Caio - thanks.
> Now I've gone full circle and am getting
> 'AppDelegate::KInternetEventClass (NameError)
> from /Users/martin/work/macruby/experimental/build/Debug/
> experimental.app/Contents/'
Maybe that constant is not there after all?
Try `::KInternetEventClass` to force ruby to search for it in the root
namespace.
Are you loading Cocoa in your app?
$ macirb
irb(main):001:0> framework 'Foundation'
=> true
irb(main):002:0> KInternetEventClass
NameError: uninitialized constant KInternetEventClass
irb(main):003:0> framework 'Cocoa'
=> true
irb(main):004:0> KInternetEventClass
=> 1196773964
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel