instance method exclude_from

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1 Private — implementation detail, not part of the public API

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.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close