From: Phillip Gawlowski Date: 2011-04-05T21:33:01+09:00 Subject: Re: Separate new lines from an output On Tue, Apr 5, 2011 at 12:38 PM, Leo M. wrote: > Sorry for being imprecise. > > The matter is this : I have 87 files named black1, black2 ...... black > 87. > > I want ruby to print each file with the entire path, so, this is what > I've written : Why not use Dir#glob([pattern])? That automatically creates an array with the files and their paths that match [pattern]. -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.