implement a simple ruby object in C.