From: "trans. (T. Onoma)" Date: 2004-10-04T23:46:15+09:00 Subject: Re: Too Many Ways? On Monday 04 October 2004 10:42 am, Brian Candler wrote: > Sorry, I will correct myself. -3 means at least 2, but the maximum limit is > not specified, and might be as low as 3. > > def foo(a,b,c=nil) > end > method(:foo).arity # => -3 > > def bar(a,b,c=nil,d=nil,e=nil) > end > method(:bar).arity # => -3 > > It would be a nice use for ranges with infinite bounds, if they existed. Exactly what I was thinking. T.