ruby-changes:54164
From: stomar <ko1@a...>
Date: Fri, 14 Dec 2018 05:24:30 +0900 (JST)
Subject: [ruby-changes:54164] stomar:r66385 (trunk): proc.c: [DOC] fix typos
stomar 2018-12-14 05:24:23 +0900 (Fri, 14 Dec 2018) New Revision: 66385 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66385 Log: proc.c: [DOC] fix typos Modified files: trunk/proc.c Index: proc.c =================================================================== --- proc.c (revision 66384) +++ proc.c (revision 66385) @@ -3219,7 +3219,7 @@ rb_method_compose_to_right(VALUE self, V https://github.com/ruby/ruby/blob/trunk/proc.c#L3219 */ /* - * +Proc+ object is an incapsulation of a block of code, that can be stored + * A +Proc+ object is an incapsulation of a block of code, that can be stored * in local variables, passed to methods and other procs and called. * Proc is an essential concept in Ruby and a core of its functional * programming features. @@ -3247,9 +3247,9 @@ rb_method_compose_to_right(VALUE self, V https://github.com/ruby/ruby/blob/trunk/proc.c#L3247 * * == Creation * - * There are several methods to create proc + * There are several methods to create procs * - * * Just use Proc class constructor + * * Just use Proc class constructor: * * proc1 = Proc.new {|x| x**2 } * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/