On Aug 14, 9:08 am, Bertram Scharpf <li... / bertram-scharpf.de> wrote:
snip
> First think, then write. Sorry!
>
> Bertram
>

A little more thought and a review of Ruby-doc shows that it could be
as simple as:
Class Dir
def empty?(path=Dir.pwd)
  Dir.entries(path).empty?
end
end

cheers
Chris