A simple Ruby object pool