View Problem

Process each file in a directory

DiskEdit
ruby
directory = '/tmp' ; Dir.foreach(directory) {|file| puts "#{file}"}

Submit a new solution for ruby
There are 16 other solutions in additional languages (clojure, cpp, csharp, erlang ...)