method
search_dir
search_dir(dir, &callback)
private
Hide source
# File activesupport/lib/active_support/cache/file_store.rb, line 175 def search_dir(dir, &callback) Dir.foreach(dir) do |d| next if d == "." || d == ".." name = File.join(dir, d) if File.directory?(name) search_dir(name, &callback) else callback.call name end end end