Verno Miller wrote:
>> Uncutstone Wu wrote:
>> ...  As you said, a man is not always a teacher. So, rather than including Teacher 
>> into class Man, it's better to extend a Man object individually as in the following code.


But if I want Teacher to be a class at some other occasions,and sometime 
I want it to be module so that it could be able to be mixed into other 
objects.

Best regards.

-- 
Posted via http://www.ruby-forum.com/.