Ticket #197 (new enhancement)
Opened 20 months ago
A removed, or undefined, pure Objective-C method should raise a NoMethodError when called.
| Reported by: | eloy.de.enige@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
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.
Note: See
TracTickets for help on using
tickets.

