496 497 498 499 500 501 502 503 504 505
# File 'lib/mylibs.rb', line 496 def self.allDirs(path) dirs = [] Dir.foreach(path) do |f| fullPath = File.join(path, f) if File.directory?(fullPath) and f !~ /^\.\.?$/ then dirs << f end end dirs end