* proc.c: fix grammar by @BenMorganIO [fix GH-764][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2014-12-01 02:05:53 +00:00
parent 27e3e03a02
commit 089429eab9
2 changed files with 5 additions and 1 deletions

2
proc.c
View file

@ -794,7 +794,7 @@ rb_proc_call_with_block(VALUE self, int argc, const VALUE *argv, VALUE pass_proc
* Keywords arguments will considered as a single additional argument,
* that argument being mandatory if any keyword argument is mandatory.
* A <code>proc</code> with no argument declarations
* is the same a block declaring <code>||</code> as its arguments.
* is the same as a block declaring <code>||</code> as its arguments.
*
* proc {}.arity #=> 0
* proc { || }.arity #=> 0