Nadia and Saron look at local and dynamic access of variables in chapter 3 of Ruby Under A Microscope.