From: Simon Strandgaard Date: 2003-11-17T10:21:51+09:00 Subject: overload method in module_eval, how? I want to overload a testcase method with debug-enabling wrapper. But it doesn't seems like my Object#debug method gets called at all. Any ideas how to do this ? -- Simon Strandgaard server> ruby test_dbg.rb Loaded suite TestDbg Started F Finished in 0.008819 seconds. 1) Failure: default_test(TestDbg) [test_dbg.rb:31]: No tests were specified. 1 tests, 1 assertions, 1 failures, 0 errors server> expand -t2 test_dbg.rb require 'test/unit' class Object def self.debug(*args) args.each{|method| name = method.id2name org = "_debug_"+name code=<