masukomi@masukomi.org (kay rhodes)
- Login: masukomi@masukomi.org
- Registered on: 01/13/2022
- Last sign in: 01/13/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/13/2022
-
04:05 PM Ruby Bug #18486 (Closed): Enumerable#group_by ordering appears to have changed and doesn't match docs.
- The documentation for Enumerable#group_by suggests the following:
(1..6).group_by { |i| i%3 } #=> {0=>[3, 6], 1=>[1, 4], 2=>[2, 5]}
it actually produces this (same values different order). Tested in 2.6.3 and 3.0.2
(1..6).grou...