O'Reilly logo

Mastering Ruby Closures by Benjamin Tan Wei Hao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4 Building Your Own Lazy Enumerables

In this chapter, you’ll implement your own cheap counterfeit of Ruby’s lazy enumerable using the concepts you’ve learned in the rest of this book. Going through this process will also expose you to some of the more advanced concepts of blocks, enumerables, and enumerations.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required