summaryrefslogtreecommitdiff
path: root/trunk/sample/dir.rb
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/sample/dir.rb')
-rw-r--r--trunk/sample/dir.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/trunk/sample/dir.rb b/trunk/sample/dir.rb
deleted file mode 100644
index b627383946..0000000000
--- a/trunk/sample/dir.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# directory access
-# list all files but .*/*~/*.o
-dirp = Dir.open(".")
-for f in dirp
- case f
- when /^\./, /~$/, /\.o/
- # do not print
- else
- print f, "\n"
- end
-end
-dirp.close