summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-16 06:33:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-16 06:33:04 +0000
commit19d95e898247e5555396f69017666b5429eccd2e (patch)
tree71106d331cfaa0eee0dceb912e12e5879423f812 /eval.c
parent3b0bc50873bdaae9c6b8cca21a77ac08713e7042 (diff)
* eval.c (proc_arity): fixed rdoc. [ruby-core:18708]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22979 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 79fcd8c89d..7004726bc4 100644
--- a/eval.c
+++ b/eval.c
@@ -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