#197: A removed, or undefined, pure Objective-C method should raise a
NoMethodError when called.
-------------------------------------+--------------------------------------
Reporter: eloy.de.en...@… | Owner: lsansone...@…
Type: enhancement | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Currently when removing a pure Objective-C method a warning is raised.
However, it would be more Ruby-ish if remove_method and undef_method would
replace the methods with a stub method which raises a NoMethodError.
This way the user will still get a sensible error message when the
application crashes, but will not constantly be warned when removing
methods.
--
Ticket URL: <http://www.macruby.org/trac/ticket/197>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel