C++ Implementation of Ruby Prototype