Ruby 2.7 adds Enumerable#tally
Ruby 2.7 adds Enumerable#tally which is a simple way to count occurrences of elements in an enumerable. Read more about its usage here: https://blog.saeloun.com/2019/03/03/ruby-2-7-enumerable-tally.html
Ruby 2.7 adds Enumerable#tally which is a simple way to count occurrences of elements in an enumerable. Read more about its usage here: https://blog.saeloun.com/2019/03/03/ruby-2-7-enumerable-tally.html
Comments
This is great stuff
Post a comment