The Mechanics of Ruby