From: Robert Dober Date: 2009-02-15T19:34:21+09:00 Subject: [ruby-core:22142] [Patch 191p0 ] for ostruct freeze behavior --0016368e2b05e6c7a70462f2a2ed Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Please find attached a patch for ostruct to behave frozen for already created accessors and not only for new ones. Cheers Robert -- There are some people who begin the Zoo at the beginning, called WAYIN, and walk as quickly as they can past every cage until they get to the one called WAYOUT, but the nicest people go straight to the animal they love the most, and stay there. ~ A.A. Milne (from Winnie-the-Pooh) --0016368e2b05e6c7a70462f2a2ed Content-Type: text/x-patch; charset=US-ASCII; name="ostruct.patch" Content-Disposition: attachment; filename="ostruct.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fr7kw76v0 LS0tIG9zdHJ1Y3QucmIJMjAwOS0wMi0xNSAxMToxNzoyMy4wMDAwMDAwMDAgKzAxMDAKKysrIG9z dHJ1Y3QubmV3LnJiCTIwMDktMDItMTUgMTE6MjU6NTkuMDAwMDAwMDAwICswMTAwCkBAIC03Miw3 ICs3MiwxMiBAQAogICAgIHVubGVzcyBzZWxmLnJlc3BvbmRfdG8/KG5hbWUpCiAgICAgICBjbGFz cyA8PCBzZWxmOyBzZWxmOyBlbmQuY2xhc3NfZXZhbCBkbwogICAgICAgICBkZWZpbmVfbWV0aG9k KG5hbWUpeyBAdGFibGVbbmFtZV0gfQotICAgICAgICBkZWZpbmVfbWV0aG9kKDoiI3tuYW1lfT0i KSB7IHx4fCBAdGFibGVbbmFtZV0gPSB4IH0KKyAgICAgICAgZGVmaW5lX21ldGhvZCg6IiN7bmFt ZX09IikgZG8gfHh8IAorCSAgaWYgc2VsZi5mcm96ZW4/CisJICAgIHJhaXNlIFR5cGVFcnJvciwg ImNhbid0IG1vZGlmeSBmcm96ZW4gI3tzZWxmLmNsYXNzfSIsIGNhbGxlcigxKQorCSAgZW5kCisJ ICBAdGFibGVbbmFtZV0gPSB4CisJZW5kCiAgICAgICBlbmQKICAgICBlbmQKICAgZW5kCg== --0016368e2b05e6c7a70462f2a2ed Content-Type: application/octet-stream; name=CHANGELOG Content-Disposition: attachment; filename=CHANGELOG Content-Transfer-Encoding: base64 X-Attachment-Id: f_fr7kyvu41 T3BlbnN0cnVjdCAiZm9yZ2V0cyIgdG8gY2hlY2sgZm9yIGZyb3plbm5lc3MgKCBtYXliZSB0ZW1w ZXJhdHVyZSBpcyBhIGJldHRlciB0ZXJtIDspCmluIHRoZSBjcmVhdGVkIGFjY2Vzc29ycy4K --0016368e2b05e6c7a70462f2a2ed--