From: Robert Dober Date: 2009-02-27T06:10:12+09:00 Subject: [ruby-core:22559] [Bug #1219] ostruct freeze still not stable Bug #1219: ostruct freeze still not stable http://redmine.ruby-lang.org/issues/show/1219 Author: Robert Dober Status: Open, Priority: Low Category: lib, Target version: 1.9.1 ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux] Freezing an ostruct still does not inhibit modification as can be seen in the attached test file and in the following example o = OpenStruct::new :a => 42 OpenStruct.module_eval do def frozen?; nil end end o.freeze o.a = 1764 forwarding freeze to the table or a proxy object that has to change on any update seems necessary. Idea Jo��l VanderWerf! ---------------------------------------- http://redmine.ruby-lang.org