Re: [MacRuby-devel] Accessing objc methods aliased by ruby methods

2010-05-06 Thread Laurent Sansonetti
Hi Dave, #class is really a corner case here, we force the Ruby version when calling it from Ruby because it's slightly different than the Cocoa version. (+[NSObject class] returns self, while Ruby expects Module or Class to be returned). If you want to use the Cocoa version, you can use -perfo

[MacRuby-devel] Accessing objc methods aliased by ruby methods

2010-05-06 Thread Dave Baldwin
For example, the method 'class' is present in objective C as well as in Ruby but invoking obj.class will use the Ruby version How do I force the objc version to be used instead? Obviously if the two version do the same thing then this is a moot issue but if they do different things you may nee