Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 214 Bytes
#!/usr/local/bin/ruby -w
class Dir
def self.empty? dir_name
entries(dir_name).size == 2
end
end
Dir["**/**"].each do |file_name|
puts file_name if File.directory? file_name and Dir.empty? file_name
end