From: "BrĂ¡ulio Bhavamitra" Date: 2013-07-24T21:59:46+09:00 Subject: Re: class <=> module unknown wrote in post #1116513: > Am 24.07.2013 14:35, schrieb Josh Cheek: >> >> C1 = Class.new Object >> C2 = Class.new C1 >> C3 = Class.new C2 > > I was alluding to multiple inheritance, meaning a class > inherits _directly_ from more than one superclass. The point is that inheritance may be done with include + extend from a module. In fact, many libraries already prefer include/extend from module than heritage. See MongoMapper for example. > >> M1 = Module.new >> M2 = Module.new >> C4 = Class.new { include M2, M1 } > > Regards, > Marcus -- Posted via http://www.ruby-forum.com/.