2 ms·
Ruby's Enumerable module is incredible and jam packed with features like .tally, .any?, .take, .partition, etc. But one of the things I love most is how seriou
by culi 4y ago
Ruby's Enumerable module is incredible and jam packed with features like .tally, .any?, .take, .partition, etc.
But one of the things I love most is how seriously they take having their Hash be enumerable. I love being able to loop through any hash as easily as you would with an array