(2011/12/03 4:20), Yehuda Katz wrote:
> Yeahit would be nice to be able to do:
> 
>   if proc.arity_range.include?(2)
>   if method.arity_range.include?(2)

Is it really required way?

For example you want to know whether you can obj.meth(a, b) or not,
it should be something like obj.callable?(:meth, a, b), shouldn't it?

-- 
NARUSE, Yui  <naruse / airemix.jp>