An Intro to Ruby’s “Enumerable” Module

by Joey deVilla on January 10, 2008

“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 Comment

Previous post:

Next post: