Category: Ruby

Ruby Refresher: Yield To The Block (…Or Proc, or Lambda)

Lambda vs. Proc at a glance Ruby was built with the goal of having the programmer enjoy themselves while programming, but there are some features in the language that, if not properly internalized, can go unappreciated, under-used, or mis-used by many. In first learning Ruby, one of the most interesting but most glossed over features […]