From: Useko Netsumi Date: 2002-12-04T23:50:20+09:00 Subject: Re: Class variables problem Why would the following did not work? class Test def Calc(x) return @rate*x end end class Fred < Test @rate = 10 end puts Fred.Calc(12) ^D NoMethodError: undefined method 'Calc' for Fred:Class from (irb):9 Fred should inherit all the Test class method, isn't it? Therefore it has access to its variables. Thanks