diff options
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -967,7 +967,7 @@ tally_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, hash)) * elements and the values are numbers of elements in the collection * that correspond to the key. * - * (1..6).tally { |i| i%3 } #=> {0=>2, 1=>2, 2=>2} + * (1..6).tally #=> {1=>1, 2=>1, 3=>1, 4=>1, 5=>1, 6=>1} * */ |