Something like this ought to suffice...
path = "/Users/christos/Desktop/Rails" files = Dir.entries(path).reject { |inode| !File.file?(inode) }
-christos
Something like this ought to suffice...
path = "/Users/christos/Desktop/Rails" files = Dir.entries(path).reject { |inode| !File.file?(inode) }
-christos