a basic ruby class generated from test-first-teaching