Skip to content

Commit af76190

Browse files
committed
select 'returns a true value'
1 parent 2c1ceca commit af76190

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ rb_ary_values_at(int argc, VALUE *argv, VALUE ary)
24092409
* ary.select -> Enumerator
24102410
*
24112411
* Returns a new array containing all elements of <i>ary</i>
2412-
* for which <em>block</em> returns true.
2412+
* for which <em>block</em> returns a true value.
24132413
* (see also <code>Enumerable#select</code>).
24142414
*
24152415
* If no block is given, an enumerator is returned instead.

enum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ find_all_i(VALUE i, VALUE ary, int argc, VALUE *argv)
312312
* enum.select -> an_enumerator
313313
*
314314
* Returns an array containing all elements of <i>enum</i>
315-
* for which <em>block</em> returns true.
315+
* for which <em>block</em> returns a true value.
316316
* (see also <code>Enumerable#reject</code>).
317317
*
318318
* If no block is given, an enumerator is returned instead.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy