Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 178 Bytes
def print_todo(dir, path)
if File.exist?(path)
puts "== #{dir}"
puts File.read(path)
puts
end
end
Dir["*"].each { |dir| print_todo(dir, File.join(dir, "TODO")) }