Sample code for my book "Let's Learn Ruby 2.1"