Useful trick, if you have a hash like this:
and you would like to get to a hash containing the same keys, but the count of the values:
hash#merge takes the following params:
Developer from somewhere
Useful trick, if you have a hash like this:
and you would like to get to a hash containing the same keys, but the count of the values:
hash#merge takes the following params: