Ben Giddings wrote: > > From looking at "rubytypes.rb", it looks like if I redefine > "to_yaml_properties" to return ["@title", "@chapter_titles"] it should > work. But is this the right way? Is there another preferred way? > That's it. The to_yaml_properties is generally what I use 90% of the time. If you decide you want to write a full-blown to_yaml method, I'd look at the to_yaml methods in rubytypes.rb to get an idea of how it's done, as the deep-down-to-the-black-black-sea-floor API isn't documentated at all. _why