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/.