From 910a436d33f2daac82e1bda305588f3f3d270502 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 9 Feb 2006 02:22:00 +0000 Subject: [PATCH] * 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 --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.c b/eval.c index 4bfe133b2f..9f4ebb24fd 100644 --- a/eval.c +++ b/eval.c @@ -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