diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-13 20:24:23 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-13 20:24:23 +0000 |
commit | 1b8f31409c685ba14940ac1529b60b239d2f8a05 (patch) | |
tree | a7ecee39e2ece0297136d0758640b20146484915 /proc.c | |
parent | adc32fd30cdfd5dd5794af486ab36b252b5db05d (diff) |
proc.c: [DOC] fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } * |