From: Pit Capitain Date: 2005-11-16T23:05:40+09:00 Subject: Re: static variable; behaviour in ruby? Hugh Sasse schrieb: > I want to create a variable to hold state between calls of a method, > but have the state disappear when the method goes out of scope. and > And, just to make matters worse, there could be several independent > calls to this method within the scope, each with its own separate > state. Isn't this a contradiction? When should the state appear and when should it disappear? What should be the scope of the state? Regards, Pit