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
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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