Directory listing

Something like this ought to suffice...

  path = "/Users/christos/Desktop/Rails"
  files = Dir.entries(path).reject { |inode| !File.file?(inode) }

-christos