a simple class to learn OO ruby