# File lib/amazon/search/cache.rb, line 92 def flush_expired expired_files = Dir.glob(File.join(@path, '*')).find_all do |f| (now - File.mtime(f)) / ONE_DAY > MAX_AGE end FileUtils.rm expired_files end