# File lib/rack/reloader.rb, line 66 66: def rotation 67: files = [$0, *$LOADED_FEATURES].uniq 68: paths = ['./', *$LOAD_PATH].uniq 69: 70: files.map{|file| 71: next if file =~ /\.(so|bundle)$/ # cannot reload compiled files 72: 73: found, stat = figure_path(file, paths) 74: next unless found && stat && mtime = stat.mtime 75: 76: @cache[file] = found 77: 78: yield(found, mtime) 79: }.compact 80: end