yield-gotcha every Ruby developer should be aware of
Using yield and blocks is what makes Ruby so different from other scripting languages. But in some cases yield can lead to unpredictable behavior and it’s crucial to understand what can go wrong. http://railsware.com/blog/2012/11/20/yield-gotcha-in-ruby-blocks/
Post a comment