From: Yukihiro Matsumoto Date: 2004-11-14T18:43:32+09:00 Subject: Re: [DOCBUG] Proc#arity Hi, In message "Re: [DOCBUG] Proc#arity" on Sun, 14 Nov 2004 18:19:25 +0900, Mauricio Fern�ndez writes: |> An inconsistency in the docs for Proc#arity ? Here's what ri says: |> |> arguments. A +proc+ with no argument declarations returns -1, as it |> can accept (and ignore) an arbitrary number of parameters. | * eval.c (proc_arity): arity is now defined as number of | parameters that would not be ignored. i.e. Proc.new{}.arity | returns zero. update test suites too. And lambda{}.call(1) should have made to raise exception. I will fix this. Could somebody update the document? matz.