From a01c388465ddb9b40eab24f1f18ecb79918d8c72 Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Tue, 8 Nov 2016 19:37:59 +0000 Subject: Fix typo in code doc of proc.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Insure has a different meaning than ensure and we mean the latter in this case. *Ensure* is to do or have what is necessary for success. Example: These blankets ensure that you’ll be warm enough. *Insure* is to cover with an insurance policy. Example: I will insure my home with additional fire and flood policies. Patch by: Dimitris Zorbas (@Zorbash) Signed-off-by: Akira Matsuda closes #1352 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc.c b/proc.c index 229b030606..f5037e5118 100644 --- a/proc.c +++ b/proc.c @@ -235,7 +235,7 @@ proc_clone(VALUE self) * C.new.e(1,2) #=> ArgumentError * C.new.method(:e).to_proc.lambda? #=> true * - * This exception insures that methods never have tricks + * This exception ensures that methods never have tricks * and makes it easy to have wrappers to define methods that behave as usual. * * class C -- cgit v1.2.3