]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/filesystem.rb
Restructure the lib directory to avoid name collisions.
[mailshears.git] / lib / filesystem.rb
diff --git a/lib/filesystem.rb b/lib/filesystem.rb
deleted file mode 100644 (file)
index 473a1ed..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-class Filesystem
-
-  def self.begins_with_dot(path)
-    return (path[0..0] == '.')
-  end
-  
-  def self.get_subdirs(dir)
-    subdirs = []
-
-    Dir.open(dir) do |d|
-      d.each do |entry|
-        relative_path = File.join(dir, entry)
-        if (File.directory?(relative_path) and not begins_with_dot(entry))
-          subdirs << entry
-        end
-      end
-    end
-    
-    return subdirs
-  end
-  
-end