[DOC] Fix grep_v description

This commit is contained in:
Vincent Ollivier 2025-01-29 15:45:22 +01:00 committed by Nobuyoshi Nakada
parent 451d848a76
commit f719b889a1
Notes: git 2025-01-31 06:42:12 +00:00

2
enum.c
View File

@ -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>.