From: ts Date: 2002-12-04T19:56:02+09:00 Subject: Re: Class variables problem >>>>> "P" == Peter Hickman writes: P> There is actually no real reason to instantiate this class. I know that P> that would solve the problem but truthfully it doesn't make sense. Think P> of it as a unit conversion class, each instance of the class would have P> no actual instance specific differences. pigeon% ruby class Test def Test.Calc(x) return @rate * x end end class Fred < Test @rate = 10 end puts Fred.Calc(12) ^D 120 pigeon% Guy Decoux