aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-14 07:13:27 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-14 07:13:27 +0000
commit96c4899738c60c0354a313fcc4f88fb995498a41 (patch)
tree7a505a83341b1e6574f93aebfd3942d337c1bd5f
parent806793cd862530ebf6e38b2ef61bf0520b1effcb (diff)
downloadruby-96c4899738c60c0354a313fcc4f88fb995498a41.tar.gz
* eval.c (rb_f_method_name, rb_f_callee_name): document typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--eval.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b3fd9de15f..b3d71fa871 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 7fae5300ab..78661fb1f2 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