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

About Ruby Versions

I used Ruby 2.2.X to develop the examples. Ruby 1.9.X and 2.X should have no problems. Earlier versions of Ruby have confusing behavior with regard to Procs that was fixed in later versions. Before you start, make sure you have an appropriate version of Ruby installed.

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