ruby-changes:44605
From: a_matsuda <ko1@a...>
Date: Wed, 9 Nov 2016 04:38:03 +0900 (JST)
Subject: [ruby-changes:44605] a_matsuda:r56678 (trunk): Fix typo in code doc of proc.c
a_matsuda 2016-11-09 04:37:59 +0900 (Wed, 09 Nov 2016) New Revision: 56678 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56678 Log: Fix typo in code doc of proc.c 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?\226?\128?\153ll 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@s...> (@Zorbash) Signed-off-by: Akira Matsuda <ronnie@d...> closes #1352 Modified files: trunk/proc.c Index: proc.c =================================================================== --- proc.c (revision 56677) +++ proc.c (revision 56678) @@ -235,7 +235,7 @@ proc_clone(VALUE self) https://github.com/ruby/ruby/blob/trunk/proc.c#L235 * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/