From: "David A. Black" Date: 2007-11-16T04:57:01+09:00 Subject: Re: Module vs Class Hi -- On Fri, 16 Nov 2007, Raul Parolari wrote: > jack.tang wrote: >> 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? >> >> Thanks >> /Jack > > Besides the reference given above, another good source is D.Black's > "Ruby on Rails"; chapter 6, "Class/Module Design" is entirely dedicated > to answer your question. It's "Ruby for Rails" (not "on"). But thanks for the nod :-) David -- Upcoming training by David A. Black/Ruby Power and Light, LLC: * Advancing With Rails, Berlin, Germany, November 19-22 * Intro to Rails, London, UK, December 3-6 (by Skills Matter) See http://www.rubypal.com for details!