On 26 Dec 2007, at 09:40, Thufir wrote: > creatureType=Kernel.rand(0) > You known that this produces a floating point number between 0 & 1 (i.e your case 0 & case 1 statements will just about never be executed? Fre > case creatureType > when 0 > Dragon.new > when 1 > Dragon.new > end #case > end #makeCreature > > > end # Instantiate > thufir@arrakis ~/Desktop/dwemthys $ > > > > > thanks, > > Thufir > >