From: "lroland@..." Date: 2006-10-16T19:40:14+09:00 Subject: Test if Directory is Empty Hi all I browsed through the FileUtils and Dir documentation and found no obvious way to test if a directory exists and is empty. Various hacks can be used (like checking file count and size, testing if the directory can be deleted..) but they all left me wondering if i some how missed a Dir.isEmpty? like method ? So in short is there a real Ruby way of telling whether a directory if empty -- Lars Roland