summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--eval.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b3fd9de15..b3d71fa87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jun 14 16:11:37 2006 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * eval.c (rb_f_method_name, rb_f_callee_name): document typo.
+
Tue Jun 13 17:22:19 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (Init_socket): remove obsolete constants:
diff --git a/eval.c b/eval.c
index 7fae5300a..78661fb1f 100644
--- a/eval.c
+++ b/eval.c
@@ -7697,7 +7697,7 @@ rb_exec_end_proc(void)
/*
* call-seq:
- * __method__ => string
+ * __method__ => symbol
*
* Returns the name of the current method as a Symbol.
* If called from inside of an aliased method it will return the original
@@ -7730,7 +7730,7 @@ rb_f_method_name(void)
/*
* call-seq:
- * __callee__ => string
+ * __callee__ => symbol
*
* Returns the name of the current method as Symbol.
* If called from inside of an aliased method it will return the aliased