method
delete_matched
delete_matched(matcher, options = nil)
public
Hide source
# File activesupport/lib/active_support/cache/memory_store.rb, line 104 def delete_matched(matcher, options = nil) options = merged_options(options) instrument(:delete_matched, matcher.inspect) do matcher = key_matcher(matcher, options) keys = synchronize { @data.keys } keys.each do |key| delete_entry(key, options) if key.match(matcher) end end end