* 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:
parent
27e3e03a02
commit
089429eab9
@ -1,3 +1,7 @@
|
|||||||
|
Mon Dec 1 11:05:46 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||||
|
|
||||||
|
* proc.c: fix grammar by @BenMorganIO [fix GH-764][ci skip]
|
||||||
|
|
||||||
Mon Dec 1 10:49:53 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
Mon Dec 1 10:49:53 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||||
|
|
||||||
* man/rake.1: Update latest man content by @aledovsky
|
* man/rake.1: Update latest man content by @aledovsky
|
||||||
|
2
proc.c
2
proc.c
@ -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,
|
* Keywords arguments will considered as a single additional argument,
|
||||||
* that argument being mandatory if any keyword argument is mandatory.
|
* that argument being mandatory if any keyword argument is mandatory.
|
||||||
* A <code>proc</code> with no argument declarations
|
* 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
|
||||||
* proc { || }.arity #=> 0
|
* proc { || }.arity #=> 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user