lib/rack/unreloader/reloader.rb
# A hash of modify times for all subdirectories of the given directory.
A hash of modify times for all subdirectories of the given directory.
A hash of modify times for all subdirectories of the given directory .
def subdir_times(dir)
        h = {}
        Find.find(dir) do |f|
          h[f] = modified_at(f) if File.directory?(f)
        end
        h
      end
def subdir_times ( dir ) h = { } Find . find ( dir ) do | f | h [ f ] = modified_at ( f ) if File . directory? ( f ) end h end
A hash of modify times for all subdirectories of the given directory.
A hash of modify times for all subdirectories of the given directory .
dir