From: noreply@... Date: 2006-07-09T22:20:04+09:00 Subject: [ ruby-Bugs-4998 ] Called method not removed after remove_method Bugs item #4998, was opened at 2006-07-09 13:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=4998&group_id=426 Category: Core Group: None Status: Open Resolution: None Priority: 3 Submitted By: Ilmari Heikkinen (kig) Assigned to: Nobody (None) Summary: Called method not removed after remove_method Initial Comment: Here's the offending piece of code: module M; extend M; def f; puts 'hi'; end end M.f # hi Module M; remove_method :f; end M.f # hi In IRB, continue with: GC.start M.f (irb):7: [BUG] terminated node (0xb71dc90c) ruby 1.8.4 (2005-12-24) [i486-linux] ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=4998&group_id=426