Is there a good reason why MacRuby would need to warn the user about the hazzards of removing methods?
Example:
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ site_ruby/mocha/class_method.rb:50: warning: removing pure Objective- C method `__stubba__require__stubba__' may cause serious problem

If you read well the error message it warns for removing a *pure Objective-C* method. It does not warn for methods defined in normal Ruby. If my memory serves me right, removing a method is not supported by the Objective-C runtime. There is a work around to do it, by MacRuby is probably one of the rare applications to do it so it may cause problems.

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to