mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix grep_v description
This commit is contained in:
parent
451d848a76
commit
f719b889a1
Notes:
git
2025-01-31 06:42:12 +00:00
1 changed files with 1 additions and 1 deletions
2
enum.c
2
enum.c
|
@ -5033,7 +5033,7 @@ enum_compact(VALUE obj)
|
|||
* - #flat_map (aliased as #collect_concat): Returns flattened objects returned by the block.
|
||||
* - #grep: Returns elements selected by a given object
|
||||
* or objects returned by a given block.
|
||||
* - #grep_v: Returns elements selected by a given object
|
||||
* - #grep_v: Returns elements not selected by a given object
|
||||
* or objects returned by a given block.
|
||||
* - #inject (aliased as #reduce): Returns the object formed by combining all elements.
|
||||
* - #sum: Returns the sum of the elements, using method <tt>+</tt>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue