aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-19 07:13:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-19 07:13:01 +0000
commit610b5d79759706fb2688b652da1c21006f9d4af2 (patch)
tree869b868b1ba82da7c5508e4815030c963a1ad3e6 /eval.c
parent91de9894fc5898b78878f8d4e9588794dd5bccc9 (diff)
downloadruby-610b5d79759706fb2688b652da1c21006f9d4af2.tar.gz
* 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
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
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