From: Mmcolli00 Mom Date: 2009-07-24T01:23:02+09:00 Subject: Re: Dir.entries showing . and .. , how come? > On unix, Dir.glob doesn't return hidden files(like Dir.entries does): > > > dirname = "whatever" > > Dir.glob("#{dirname}/*").each do |fname| > puts fname > end this returned 1 nil since first file in the directory was not the file for the condition. (ex. "AUR") -- Posted via http://www.ruby-forum.com/.