* eval.c (rb_obj_instance_exec): fixed typo of rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2006-02-09 02:22:00 +00:00
parent 49125bd07c
commit 910a436d33

2
eval.c
View File

@ -6538,7 +6538,7 @@ rb_obj_instance_eval(int argc, VALUE *argv, VALUE self)
* end
* end
* k = Klass.new
* k.instance_eval(5) {|x| @secret+x } #=> 104
* k.instance_exec(5) {|x| @secret+x } #=> 104
*/
VALUE