From: Hans Fugal Date: 2007-08-03T00:15:04+09:00 Subject: Re: Deep YAML Daniel Lucraft wrote: > Hans Fugal wrote: >> Daniel Lucraft wrote: >>> # then try and dump it: >>> deeptree.to_yaml #=> fails with stack error >>> refs.to_yaml #=> fails with stack error >>> refs.reverse.to_yaml #=> succeeds! >> I thought of this, ufortunately this data is more like a doubly-linked >> tree. i.e. if you reverse it you still get the same behavior, just from >> a different angle. > > Because there are links going up the tree as well as down? > > Dan Yes, exactly. Links from parent to child, and also from child to parent (and from person to family and family to person).