RubyFlow The Ruby and Rails community linklog

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

Comments

This is great stuff

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in