From: Robert Klemme Date: 2007-11-16T00:49:53+09:00 Subject: Re: Module vs Class 2007/11/15, jack.tang : > Hi Guys > > I am new to ruby, and one question here: what object should I wrap as > Module and what should I wrap as Class, any rules to fellow? I am not sure what you mean by "wrap". You often use modules where you would use multiple inheritance in other languages. Generally a module is easier to reuse because Ruby supports only single inheritance. See here for example: http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_modules.html Cheers robert -- use.inject do |as, often| as.you_can - without end