Incredibly useful, though un-intuitively named, Ruby’s Enumerable module is a kind of Swiss Army Knife, capable of solving a variety of problems with precise, compact tools. In many cases where people write Ruby that isn’t idiomatic, more akin to Java or Python in style, it’s because they don’t have a deep understanding of the elegant tools offered by Enumerable.