Re: [Pharo-users] finding the parent of a filereference

2014-01-31 Thread Tudor Girba
Ok, this is funny. Thanks. I go to sleep now :) Doru On Fri, Jan 31, 2014 at 10:21 PM, Sean P. DeNigris wrote: > Tudor Girba-2 wrote > > I would like to find the parent of a FileReference. For example: > > You're going to like the answer... #parent ;-) > > > > - > Cheers, > Sean > -- > Vi

Re: [Pharo-users] finding the parent of a filereference

2014-01-31 Thread Sean P. DeNigris
Tudor Girba-2 wrote > I would like to find the parent of a FileReference. For example: You're going to like the answer… #parent ;-) - Cheers, Sean -- View this message in context: http://forum.world.st/finding-the-parent-of-a-filereference-tp4740763p4740770.html Sent from the Pharo Smallta

Re: [Pharo-users] finding the parent of a filereference

2014-01-31 Thread GOUBIER Thierry
Try aFileReference parent Thierry De : Pharo-users [pharo-users-boun...@lists.pharo.org] de la part de Tudor Girba [tu...@tudorgirba.com] Date d'envoi : vendredi 31 janvier 2014 21:48 À : Any question about pharo is welcome Objet : [Pharo-users] findin

[Pharo-users] finding the parent of a filereference

2014-01-31 Thread Tudor Girba
Hi, I would like to find the parent of a FileReference. For example: /a/b/c ==> /a/b I could not find any straightforward way. The one I found was to go via the path and do: aFileReference path withParents reverse second asFileReference Is there no other way? Cheers, Doru -- www.tudorgirba.