Hacker News new | ask | show | jobs
by bwilliams 1673 days ago
It's also worth mentioning the Enumerable module that can be mixed in to classes, which gives you `map`, `select`, and much more for free by implementing `each`.

https://ruby-doc.org/core-3.0.2/Enumerable.html