a good example of a classin ruby