This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.
exclude_from(source, excludes)
Exclude entries from source directory
# File activesupport/lib/active_support/cache/file_store.rb, line 191 def exclude_from(source, excludes) Dir.entries(source).reject { |f| excludes.include?(f) } end