diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | eval.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Mar 16 15:33:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (proc_arity): fixed rdoc. [ruby-core:18708] + Sun Mar 15 12:50:23 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * gc.c (run_final): frees zombies only. [ruby-dev:38171] @@ -9025,7 +9025,7 @@ static VALUE method_arity _((VALUE)); * arguments. A <code>proc</code> with no argument declarations * is the same a block declaring <code>||</code> as its arguments. * - * Proc.new {}.arity #=> 0 + * Proc.new {}.arity #=> -1 * Proc.new {||}.arity #=> 0 * Proc.new {|a|}.arity #=> 1 * Proc.new {|a,b|}.arity #=> 2 |
