From: Thomas Sawyer <transfire@...>
Date: 2011-11-26T12:33:38+09:00
Subject: [ruby-core:41302] [ruby-trunk - Feature #5673][Open] undef_method probably doesn't need to raise an error


Issue #5673 has been reported by Thomas Sawyer.

----------------------------------------
Feature #5673: undef_method probably doesn't need to raise an error
http://redmine.ruby-lang.org/issues/5673

Author: Thomas Sawyer
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 1.9.4


Is there any significant reason for #undef_method to raise an error if the method is already undefined? If no, then change it to just continue on. It can return true/false to relay if was undefined vs already undefined.



-- 
http://redmine.ruby-lang.org