On Fri, 3 Feb 2006, Joel VanderWerf wrote:

> Not quite the same, is it?

you're right.

> I don't want to preserve the order in which I add keys. I just want the YAML
> output to be sorted by key.
>
> Also, I want the old behavior of :SortKeys, which was to do this recursively
> to all hashes hanging off the object you call #to_yaml on.
>
> This is mostly for aesthetic reasons (and being able to find keys in the
> output doc).

hmmm.  ifirc yaml always does this for hashes now... i may be mistaken though.

i actually hit that same bug today!

-a

-- 
happiness is not something ready-made.  it comes from your own actions.
- h.h. the 14th dali lama