The methods in the Enumerable module—
reduce, and friends—are particularly great examples of the power of blocks. Master the Enumerable methods and you’ll be a more efficient Ruby programmer!
Start saving time and improving your code by checking out the video below from our Mastering Ruby Blocks & Iterators course. It’s part two of a two-part series on tapping into the Enumerable module.