From: Garance A Drosihn Date: 2002-03-20T02:41:22+09:00 Subject: Re: dots in Dir.entries At 9:39 PM +0900 3/19/02, Ron Jeffries wrote: >On Tue, 19 Mar 2002, Garance A Drosihn wrote: > >>I agree that is a little annoying to have to filter those >>when you do not want them (which is most of the time), but >>there are situations where it is important that they are >>not filtered out. I would not mind if this was a different >>method name, but I do think it needs to be available. > >Most of the time, most Windows-based Ruby apps filter these >alleged filenames. If there's a standard way in Ruby to do >this, we'll all use it. If not, we'll all write our own. >Which way would the world be better? If you were talking about the implementation of some major algorithm (like maybe a hanoi's tower), you would have a good point. Given that all a programmer has to do is remove two names from a list, it doesn't make much difference to me how it's done. If a programmer can not figure out the subtleties of some suitable command such as "if" and a string comparison, then they shouldn't be programming in the first place. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu