Ruby Cookbook: Recipes for Object-Oriented Scripting
Lucas Carlson
Revised for Ruby 2.1, each recipe includes a discussion on why and how the solution works. You’ll find recipes suitable for all skill levels, from Ruby newbies to experts who need an occasional reference.