From: Yehuda Katz Date: 2011-12-02T13:13:26+09:00 Subject: [ruby-core:41450] Re: [ruby-trunk - Bug #5694] Proc#arity doesn't take optional arguments into account. --0016e64f5e0abbcaa604b314306f Content-Type: text/plain; charset=ISO-8859-1 You could probably extract the information from #parameters, yeah. On Thu, Dec 1, 2011 at 5:25 PM, Joshua Ballanco wrote: > On Thu, Dec 1, 2011 at 6:54 PM, Yehuda Katz wrote: > >> Maybe we can add a new arity_range method that does this? > > > Wouldn't that be, more or less, redundant with #parameters? > --0016e64f5e0abbcaa604b314306f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You could probably extract the information from #parameters, yeah.

=
On Thu, Dec 1, 2011 at 5:25 PM, Joshua Balla= nco <jballanc@gm= ail.com> wrote:
On Thu, Dec 1, 2011 at 6:54 PM, Yehuda Katz <wycats@gmail.com> wrote:
Maybe we can add a new arity_range method that does this?
=
Wouldn't that be, more or less, redundant with #pa= rameters?

--0016e64f5e0abbcaa604b314306f--