From: Tim Uckun Date: 2006-05-14T14:30:17+09:00 Subject: Re: class << self > > Yes. I first tried to inherit from DBI but I couldn't because it's a> > module.>> include() it instead. :)> I was going to do that but i still haven't quire wrapped my mindaround mix-ins. I decided on a container model and just declared adatabase handle as an instance variable. The thing that insterests me is the choice to write a module asopposed to an object. One day I will figure out when to write amodule instead of an object. For now I am just writing objects andpretending that ruby is java or python. I figure that's good enoughtill I learn more about mixins.