From: Dave Thomas Date: 2002-01-12T07:16:22+09:00 Subject: Re: Dir.entries have no home Ron Jeffries writes: > I'm suggesting that the objects involved in the Dir.entries, > FileTest, and File families aren't quite right. Think of it this > way: and/or... The interface to Dir is wrong. Right now, it's basically a wrapper around system calls. Perhaps it would be better to have something like Dir#parent Dir#subdirectory_names_matching(glob) Dir#file_names_matching(glob) Dir#other_names_matching(glob) Dir#contains_file_named(name) Dir#path Dir#remove_files Dir#remove_sub_directories and so on. Dave