class ActiveSupport::Cache::Store

def delete_matched(matcher, options = nil)

All implementations may not support this method.

Options are passed to the underlying cache implementation.

Delete all entries with keys matching the pattern.
def delete_matched(matcher, options = nil)
  raise NotImplementedError.new("#{self.class.name} does not support delete_matched")
end