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