On 21/09/06, MonkeeSage <MonkeeSage / gmail.com> wrote: > Austin Ziegler wrote: > > But simply doing a #respond_to? > > check doesn't help you with arity checking, which matters as much as > > the presence of the method itself. > > Very true. In the same way (as others have mentioned), method_missing > dispatching can cause some serious flaws in signature validation. And > method_missing with variable arity is even worse, heh! And should #method, #instance_methods, ... also be overridden ? IMHO it's better to avoid using method_missing in most cases, it makes code more difficult to debug. -- Cheers, zimbatm http://zimbatm.oree.ch