From: Hal Fulton Date: 2004-11-25T16:53:31+09:00 Subject: YAML question (hi _why!) _why, Just saw you post and was reminded to ask: How are we coming on a "good" solution to my default values problem? For those curious, what I want to do is establish defaults for fields in an object, such that: 1. When I dump an object, fields that still have the default values will be left unspecified. 2. When I load an object, unspecified fields will be given their default values. Right now I'm using an initialize_copy hack and some other stuff. Something like this can greatly compress the YAML, I've found. Very convenient when you read or hand-edit the file. Cheers, Hal