diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-08-08 09:26:07 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-08-08 09:26:07 -0400 |
commit | a24c607e30b5a74ef53e9a2c1e630dea46151a84 (patch) | |
tree | 85d0e44cb610d66c2f97e53dfe9e60192a6c57d3 /enum.c | |
parent | 1cb77f23046dbfd14703241e82bed2bcd69bf6a1 (diff) |
[DOC] Fix formatting issue in Enumerable
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |