From: Gavin Sinclair Date: 2003-01-08T23:07:29+09:00 Subject: Re: Can you detect if a method takes a block argument? On Thursday, January 9, 2003, 12:50:47 AM, ts wrote: >>>>>> "M" == Martin Hart writes: M>> Is there a way to tell whether or not a method takes a block argument? > Briefly, no. Slightly less briefy, yes. > For example, Array#sort can be used with or without a block. i.e. any method *can* take a block. So the answer is always yes. I think Martin will have to reconsider his design. Gavin