------ art_42366_14607793.1213282060831 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Jun 12, 2008 at 8:00 AM, Dustin Barker < dustin.barker / agilepartners.com> wrote: > Hi Justin, > > If the tree is ordered, you could provide access the nth node by > implementing the [] operator. So for Child 1, could be: > > subtree ree[0] > subtree.each { |x| put x } > > -Dustin > > > On Jun 11, 2008, at 5:08 PM, Justin To wrote: > > How would I traverse only one portion of the tree? For instance, only >> Child 1 and not Child 2? >> >> So I want to see: >> >>