From: Martin DeMello Date: 2004-03-30T18:14:25+09:00 Subject: Re: YAML and initializers Hal Fulton wrote: > > Here's a thought. What if you attached singleton methods to each object > that had comments, like #pre_yaml and #post_yaml? These would return > the comment block before and after (whatever that means) the yaml code. I like this - it's elegant. Strings would probably be better than singleton methods, though - easier to manipulate from within the code. martin