Code examples from Jose Mota's Fundamentals of Ruby screencasts