Going through the pickaxe book for Ruby 2.0