From 1b8f31409c685ba14940ac1529b60b239d2f8a05 Mon Sep 17 00:00:00 2001 From: stomar Date: Thu, 13 Dec 2018 20:24:23 +0000 Subject: proc.c: [DOC] fix typos git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 4ec3e401bf..8541975277 100644 --- a/proc.c +++ b/proc.c @@ -3219,7 +3219,7 @@ rb_method_compose_to_right(VALUE self, VALUE g) */ /* - * +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, VALUE g) * * == 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 } * -- cgit v1.2.3