From: David Alan Black Date: 2001-02-24T13:30:49+09:00 Subject: [ruby-talk:11428] Re: Dir#each -- include '.'? On Sat, 24 Feb 2001, Brian F. Feldman wrote: > Neil Conway wrote: > > > I'm using Dir#each to recurse through the files in a directory. > > To me, the following code is fairly natural: > > Better than Dir[]/Dir.glob since it actually includes all files :) Yes, I've led him down the path of ignoring hidden files. Whoops. Well, I still like what I did with the code logic... :-) David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav