summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dae6eb6492..b5b20568f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Mar 16 15:33:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * eval.c (proc_arity): fixed rdoc. [ruby-core:18708]
+
Sun Mar 15 12:50:23 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (run_final): frees zombies only. [ruby-dev:38171]
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