diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-14 19:08:57 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-14 19:08:57 +0000 |
commit | 1b179216a945abba11a9906e12b8068481c12566 (patch) | |
tree | d7708003132be0a7413b2f11097e3f73954ad7f7 /proc.c | |
parent | 3a3581d586d24a300cc3dd2ee16d3c858a97a95f (diff) | |
download | ruby-1b179216a945abba11a9906e12b8068481c12566.tar.gz |
* proc.c: Typo in Proc.arity found by Jack Nagel [Bug #8094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -649,7 +649,7 @@ rb_proc_call_with_block(VALUE self, int argc, VALUE *argv, VALUE pass_procval) * * proc { |x = 0| }.arity #=> 0 * lambda { |a = 0| }.arity #=> -1 - * proc { |x=0, y| }.arity #=> 0 + * proc { |x=0, y| }.arity #=> 1 * lambda { |x=0, y| }.arity #=> -2 * proc { |x=0, y=0| }.arity #=> 0 * lambda { |x=0, y=0| }.arity #=> -1 |