From: Gavin Kistner Date: 2005-02-22T23:21:51+09:00 Subject: Re: YAML and hash On Feb 21, 2005, at 11:52 AM, Adriano Ferreira wrote: >> You're right. This should throw an error or a warning (according the >> YAML specification). This a simple fix, but cannot be done in Ruby. > class AngryHash < Hash Heh, that's a cute name :) I use this myself, called WriteOnceHash http://phrogz.net/RubyLibs/rdoc/classes/WriteOnceHash.html