Le 03 mars 16:03, August0866 a ñÄrit : Hi. > I am not a programmer, yet. I am trying ruby on for size, most things > fit ok, but Classes are puzzling me. > > <code> > class Roll > def Roll(base,range) > @power=Roll.new(10,8) > OK, so why is this broken? The constructor in ruby is named initialize, not the name of the class like in Java. Try : class Roll def initialize(base, range) ... end ... end Fred -- - The light at the end of the tunnel is the explosives around that little ball of Pu239. (Mike Andrews in the SDM) - The darkness at the end of the tunnel is an oncoming train with broken headlights. (Lars Balker Rasmussen in the SDM)