diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-19 07:13:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-19 07:13:01 +0000 |
commit | e93780c8d3889265e4163199bf16f87cbe6743f3 (patch) | |
tree | 869b868b1ba82da7c5508e4815030c963a1ad3e6 /eval.c | |
parent | 7f496d879d50669a6ad176c7aa30c29e99111ce8 (diff) | |
download | ruby-e93780c8d3889265e4163199bf16f87cbe6743f3.tar.gz ruby-e93780c8d3889265e4163199bf16f87cbe6743f3.tar.xz ruby-e93780c8d3889265e4163199bf16f87cbe6743f3.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@5977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |