Actions
Bug #1219
closedostruct freeze still not stable
Description
=begin
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!
=end
Files
Actions
Like0
Like0Like0Like0