Complete Guide to The Ruby Enumerable Module

What is Enumerable? Enumerable is a collection of iteration methods, a Ruby module, and a big part of what makes Ruby a great programming language. Enumerable includes helpful methods like: map select inject Enumerable methods work by giving them a block. In that block you tell them what you want to do with every element. … Continue reading Complete Guide to The Ruby Enumerable Module