Episode #565
Parameter Destructuring

I don't often get language envy when looking at non-Ruby programming languages. But lately I've been working in some JavaScript projects, and one feature I really like about modern JavaScript is how easy it is to "destructure" associative arrays into separate variables. In this episode, guest chef Brandon Weaver shows us how to emulate that kind of destructuring in Ruby. In the process, we'll learn more about Ruby's handy method introspection features. Enjoy!

This page is just for members. Sign in or subscribe to gain access!