From: Paul Brannan Date: 2001-10-27T05:05:16+09:00 Subject: [ruby-talk:23512] Re: How to use methID in method_missing On Sat, 27 Oct 2001, Morris, Chris wrote: > ... is there a non-eval way to do it? > > Chris Yes, you can use: def method_missing(method, *args, &block) @obj.__send__(method, *args, &block) end or def method_missing(method, *args, &block) str = method.id2name() @obj.method(str).call(*args, &block) end but BE CAREFUL. Both of these allow you to call protected and private methods. Paul