Peter Cooper@peterc·6d2/2579659fAlong similar lines, this is a fun one: rubyarr.max_by &arr.tally .. as a way to return an array's most frequent element.16:53 · Oct 22, 2026 · commit 579659f1QuoteReply