From: Yossef Mendelssohn Date: 2008-05-13T00:41:59+09:00 Subject: Re: Cover a directory and put all the stuff in a TreeView On May 12, 10:16 am, John Locke wrote: > So I need to know, at each loop, what is at what level (which is the > father, which is the son, etc), in order to insert it correctly in the > TreeView. > > In other words, right now I am able to do this: > > /home/a > /home/a1 > /home/a2 > /home/b > > etc > > And I would like to do this: > > /home/a > /home/a1 > /home/a2 > /home/b > > Any ideas? > > Thanks. > -- > Posted viahttp://www.ruby-forum.com/. What makes /home/a1 and /home/a2 the children of /home/a? They're not / home/a/1 or /home/a/2, are they? -- -yossef