From: Shin guey Wong Date: 2008-04-09T14:32:25+09:00 Subject: Re: Include module and class inheritance? which one to choose? Julian Leviston wrote: > A module is simply a place where you can store methods. > > Thus, you can include a module as a mixin in a class, and it will get > all the methods. > Yes, but we can achieve the same thing by inherit a class which will get all the methods also.I know we can mixin multiple classes but only inherit 1 class. If there is only 1 class/module, which we should use? create a module or class? -- Posted via http://www.ruby-forum.com/.