From 610b5d79759706fb2688b652da1c21006f9d4af2 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 19 Mar 2004 07:13:01 +0000 Subject: * variable.c (rb_cvar_set): class variables become private to the particular class/module. [Ruby2] * variable.c (rb_cvar_get): ditto. * io.c (rb_io_sync): need not to check writable. [ruby-core:02674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index ab46894f70..45dc8320d5 100644 --- a/eval.c +++ b/eval.c @@ -8137,7 +8137,7 @@ static VALUE method_arity _((VALUE)); * returns -1, as it can accept (and ignore) an arbitrary number of * parameters. * - * Proc.new {}.arity #=> -1 + * Proc.new {}.arity #=> 0 * Proc.new {||}.arity #=> 0 * Proc.new {|a|}.arity #=> 1 * Proc.new {|a,b|}.arity #=> 2 -- cgit v1.2.3