From: bhz Date: 2009-02-17T17:34:59+09:00 Subject: Re: Frozen OpenStruct allows modification On Sun, 15 Feb 2009 05:38:10 -0500, Robert Dober wrote: > On Sun, Feb 15, 2009 at 10:43 AM, bhz wrote: > I have submitted a patch to ruby-core. > > Turned out that this was certainly an error only *already* created > write accessors were ignoring the frozen? state of the object, thus > > x =OpenStruct::new.freeze > x.a = 42 > > would have thrown the expected TypeError. > > Cheers > Robert Thanks for input. So we can expect it to be fixed in the new release?