From: ts Date: 2002-11-20T02:36:01+09:00 Subject: Re: Kernel.method() question >>>>> "C" == Chris writes: C> I was just wondering, why doesn't Kernel.method() call method_missing() when C> it can't find a method, instead of raising a NameError? Well, probably you make a confusion Kernel#method create a Method object, for example pigeon% ruby -e 'def tt() end; p method(:tt)' # pigeon% Now ruby effectively call #method_missing when it don't find a method pigeon% ruby -e 'qq()' -e:1: undefined method `qq' for # (NameError) pigeon% pigeon% ruby -e 'def method_missing(id) p "missing #{id}"; end; qq()' "missing qq" pigeon% Guy Decoux