Yeah=85 it would be nice to be able to do:

  if proc.arity_range.include?(2)
  if method.arity_range.include?(2)

Yehuda Katz
(ph) 718.877.1325


On Fri, Dec 2, 2011 at 12:33 AM, Trans <transfire / gmail.com> wrote:

> On Thu, Dec 1, 2011 at 11:13 PM, Yehuda Katz <wycats / gmail.com> wrote:
> > You could probably extract the information from #parameters, yeah.
>
> However, having the range is going to be more readily useful in the
> cases where arity normally comes into play. Having to parse out this
> information from parameters wouldn't be as clean except in the
> simplest case.
>
>