From: Jim Weirich Date: 2004-06-26T01:35:21+09:00 Subject: Re: Is it considered Harmful? gabriele renzi said: > il Fri, 25 Jun 2004 16:51:05 +0200, Michael Walter > ha scritto:: > >>Another reason would be that it might be useful to change the object _in >>place_. That is, all existing references suddenly point to the new >> object. > > in evil.rb (you can find it at rubyforge) you even have Object#become > if you need it ;) Are there limitations on evil.rb's implementation of become? How do you get around Guy's concerns about crashing? -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)