From: Kaldrenon Date: 2007-08-08T22:55:00+09:00 Subject: Re: non-constant strings On Aug 8, 7:51 am, "Jano Svitok" wrote: > On 8/8/07, Dmitry Bilunov wrote: > > If there is a way to unfreeze a frozen > > object, then this method could be called externally and one can gain > > write access to an internal instance variable. > > Not exactly. Shortest, closest thing I can think of for unfreezing an object is to dup it. a = "test" --> "test" a.freeze --> 1 a << "test" --> TypeError a = a.dup --> 1 a << "test" --> "testtest" (sorry about the non-irb format...default command shell in WinXP doesn't allow copy/paste. *sigh*)