From: Trans Date: 2011-12-02T17:33:20+09:00 Subject: [ruby-core:41452] Re: [ruby-trunk - Bug #5694] Proc#arity doesn't take optional arguments into account. On Thu, Dec 1, 2011 at 11:13 PM, Yehuda Katz 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.