From: Pete Date: 2006-07-13T04:46:25+09:00 Subject: Re: prototype design pattern Can't imagine how it could be simpler... class SomeUselessClass attr_accessor :a, :b, :c def initialize @a, @b, @c = 1, 2, 3 end end prototype = SomeUselessClass.new prototype.a = 7 // create instances from prototype o1 = prototype.clone o2 = prototype.clone o3 = prototype.clone cheers peter ara.t.howard@noaa.gov schrieb: > > anyone know of a good impl for ruby? > > regards. > > -a