summaryrefslogtreecommitdiffstats
path: root/eval.c
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
commitc8acc45a3b97910b17704d58da48c54253cb29ab (patch)
tree7a505a83341b1e6574f93aebfd3942d337c1bd5f /eval.c
parentaa6f44e34fc4851ee017a557a53cec0d07bd2f77 (diff)
downloadruby-c8acc45a3b97910b17704d58da48c54253cb29ab.tar.gz
ruby-c8acc45a3b97910b17704d58da48c54253cb29ab.tar.xz
ruby-c8acc45a3b97910b17704d58da48c54253cb29ab.zip
* eval.c (rb_f_method_name, rb_f_callee_name): document typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
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