зеркало из https://github.com/github/ruby.git
[DOC] Fix formatting issue in Enumerable
This commit is contained in:
Родитель
1cb77f2304
Коммит
a24c607e30
2
enum.c
2
enum.c
|
@ -4808,7 +4808,7 @@ enum_compact(VALUE obj)
|
|||
* - #grep_v: Returns elements selected by a given object
|
||||
* or objects returned by a given block.
|
||||
* - #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;
|
||||
* returns the n-tuples or calls the block with each.
|
||||
* - #cycle: Calls the block with each element, cycling repeatedly.
|
||||
|
|
Загрузка…
Ссылка в новой задаче