[EMAIL PROTECTED] (Peter Haworth) writes: > To know whether the method takes a block, you need to know how it's been > declared. In other words, the type of @a needs to be known to find grep's > declaration.
Well, that's what always happens on a method call. > In turn, grep must specify its return type in order to find > sort's declaration, No, not at all. As I've said, you assume that all methods *can* take a block. -- What would happen if you ran up to Hitler and mentioned Usenet? - Kibo