From: Jacob Quinn Shenker Date: 2005-10-14T08:29:06+09:00 Subject: Re: Challenging Project ... Need a deep guru to provide enlightenment. Is there an equivalent of method_missing that intercepts *all*methods, not just the missing ones? On 10/13/05, Joe Van Dyk wrote:> On 10/13/05, Lyndon Samson wrote:> > Lookup send and method_missing>> Won't work.>> class Hi> def method_missing method, *args> @obj.send method, *args> end> def initialize obj> @obj = obj> end> end>> h = Hi.new(String)>> h.class> => Hi>> String.class> => Class>> h.methods.size> => 41>> String.methods.size> => 73>>