From: "Kroeger, Simon (ext)" Date: 2006-04-13T21:45:23+09:00 Subject: Re: Equivalent of Java static code block in Ruby? > -----Original Message----- > From: azrael@cream.org [mailto:azrael@cream.org] > Sent: Thursday, April 13, 2006 11:36 AM > To: ruby-talk ML > Subject: Re: Equivalent of Java static code block in Ruby? > > > Maybe i don't understand but i think this is plain wrong: > > > > class A > > puts "Hello" > > end > > > > 100.times do > > a = A.new > > end > > > > #=> Hello > > > > No, that is what I would expect. Anything else is broken. > > Martin True, the statement above was related to the part you deleted in your answer. cheers Simon