From: Simon Strandgaard Date: 2003-11-17T10:23:22+09:00 Subject: Re: overload method in module_eval, how? On Mon, 10 Nov 2003 17:17:52 +0100, ts wrote: >>>>>> "S" == Simon Strandgaard writes: > > S> class Object > S> def self.debug(*args) > S> p instance_methods(false) > S> args.each{|symbol| > S> puts "symbol = #{symbol}" > S> begin > S> meth = method(symbol) > > meth = instance_method(symbol) > > S> rescue => e > S> puts "ERROR: symbol2method failure, " + e.inspect > S> end Guy you are ruby-wizard #1. All my problems has been swept away. Thanks.. you have helped so many times.. I think I+others own you some beers someday ;-) -- Simon Strandgaard