Blocks: What Are They Good For?

Blocks are a core concept in Ruby, and while they make frequent appearances in Ruby code, developers may not be aware of exactly how they work or all the things they can do. In this video, Boston Development Director Josh Clayton walks through this powerful Ruby language feature, showing how blocks work and how you can effectively use them in your own code.


This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/blocks-what-are-they-good-for

All I can think about watching this episode is… that guy @joshuaclayton has an epic beard.

1 Like

I’ve only dreamt of beards like that

1 Like

I’ve read before that when monkey patching method missing you should call super if the cases that you are monkey patching for are not fulfilled. Is there a reason for not doing this in the example?