instance method exclude_from

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1 Private

Signature

exclude_from(source, excludes)

Exclude entries from source directory

Parameters

source req
excludes req
Source
# 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

Defined in activesupport/lib/active_support/cache/file_store.rb line 191 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::FileStore

Type at least 2 characters to search.

↑↓ navigate · open · esc close