Ruby Conference 2012

Dissecting a Ruby Block
This presentation, by Pat Shaughnessy , is licensed under a Creative Commons Attribution ShareAlike 3.0
80x15

More than any other feature of the language, in my opinion blocks are what make using Ruby fun. But what is a block, exactly? What would I see if I could cut one open and look inside? During this talk we’ll:

Explore Ruby’s internal implementation of blocks, lambdas, procs and bindings. Learn how closures and metaprogramming are related in Ruby internals. Discover what metaclasses and singleton classes are and how Ruby uses them. Do you really need to know how Ruby works internally to be a good Ruby developer? Probably not. But taking a peek under the hood can help you better understand the language… and is a lot of fun!

Conference Videos


Version: 1.0 (536) by Coby Randquist on 2014-07-21