instance method
delete_matched
Ruby on Rails 2.3.18
Since v2.2.3Signature
delete_matched(matcher, options = nil)
No documentation comment.
Parameters
-
matcherreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache/memory_store.rb, line 43
def delete_matched(matcher, options = nil)
super
@data.delete_if { |k,v| k =~ matcher }
end
Defined in activesupport/lib/active_support/cache/memory_store.rb line 43
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::MemoryStore