[ruby-talk:00317] Re: Arity features for Proc object?

From: Pros Yeboah <yeboah@...>
Date: 1999-05-17 07:23:28 UTC
List: ruby-talk #317
Yukihiro Matsumoto wrote:

> Is it the feature to determin whether a proc requires arguments?

Yes you are right. It is the number of args expected by the function (in
this case the Proc Object)

> Or
> the feature to retrieve the argument information (number, names,
> type)?

Not  neccessalily. I  personally,would  be  gracefull with the former.

Pros


In This Thread