instance method
delete_matched
Ruby on Rails 7.1.6
Since v2.2.3Signature
delete_matched(matcher, options = nil)
Deletes all entries with keys matching the pattern.
Options are passed to the underlying cache implementation.
Some implementations may not support this method.
Parameters
-
matcherreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache.rb, line 720
def delete_matched(matcher, options = nil)
raise NotImplementedError.new("#{self.class.name} does not support delete_matched")
end
Defined in activesupport/lib/active_support/cache.rb line 720
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store