From: Trans Date: 2011-12-04T23:14:59+09:00 Subject: [ruby-core:41477] Re: [ruby-trunk - Bug #5694] Proc#arity doesn't take optional arguments into account. On Sat, Dec 3, 2011 at 10:41 PM, NARUSE, Yui wrote: > > 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? I concur. That would be sweet! I think Ruby's arity should still be shored up if it is deficient, though.