Method: ActiveSupport::Cache::Strategy::LocalCache#delete_matched

Defined in:
activesupport/lib/active_support/cache/strategy/local_cache.rb

#delete_matched(matcher, options = nil) ⇒ Object

:nodoc:



91
92
93
94
95
# File 'activesupport/lib/active_support/cache/strategy/local_cache.rb', line 91

def delete_matched(matcher, options = nil) # :nodoc:
  return super unless cache = local_cache
  cache.clear(options)
  super
end