Correct Ruby example slightly