mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix formatting issue in Enumerable
This commit is contained in:
parent
1cb77f2304
commit
a24c607e30
1 changed files with 1 additions and 1 deletions
2
enum.c
2
enum.c
|
@ -4808,7 +4808,7 @@ enum_compact(VALUE obj)
|
||||||
* - #grep_v: Returns elements selected by a given object
|
* - #grep_v: Returns elements selected by a given object
|
||||||
* or objects returned by a given block.
|
* or objects returned by a given block.
|
||||||
* - #reduce, #inject: Returns the object formed by combining all elements.
|
* - #reduce, #inject: Returns the object formed by combining all elements.
|
||||||
* - #sum: Returns the sum of the elements, using method +++.
|
* - #sum: Returns the sum of the elements, using method <tt>+</tt>.
|
||||||
* - #zip: Combines each element with elements from other enumerables;
|
* - #zip: Combines each element with elements from other enumerables;
|
||||||
* returns the n-tuples or calls the block with each.
|
* returns the n-tuples or calls the block with each.
|
||||||
* - #cycle: Calls the block with each element, cycling repeatedly.
|
* - #cycle: Calls the block with each element, cycling repeatedly.
|
||||||
|
|
Loading…
Reference in a new issue