Enumerable (Ruby)

Enumerable is a Ruby module that provides dozens of collection methods — map, select, reduce, sort, find, and more — to any class that defines an each…