An Intro to Ruby’s “Enumerable” Module

“If you’re still writing for loops, stop; there’s a better way.” In Ruby, for loops should be the exception. Make sure you know all about the functionality offered by the Enumerable module, which has methods for iterating through, sorting and searching arrays, hashes and other collection-type objects.

Leave a Reply

Your email address will not be published. Required fields are marked *