summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-13 20:24:23 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-13 20:24:23 +0000
commit1b8f31409c685ba14940ac1529b60b239d2f8a05 (patch)
treea7ecee39e2ece0297136d0758640b20146484915
parentadc32fd30cdfd5dd5794af486ab36b252b5db05d (diff)
proc.c: [DOC] fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--proc.c6
1 files changed, 3 insertions, 3 deletions
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 }
*