On Fri, 28 May 2004 07:15:59 +0900, Sean O'Dell <sean / celsoft.com> wrote:

> Why have respond_to? at all then?  Why not just catch NotImplementedError
> everywhere you need to check an object before trying to call a method?


Convenience?

It really can only do what it's doing though, no?  Trying to determine
anything beyond "does there exist an implementation, however crappy or
useless it may be" sounds a lot like trying to solve the halting
problem.