Method: ActiveSupport::Cache::Store#delete_matched

Defined in:
lib/active_support/cache.rb

#delete_matched(matcher, options = nil) ⇒ Object

Deletes all entries with keys matching the pattern.

Options are passed to the underlying cache implementation.

Some implementations may not support this method.

Raises:

  • (NotImplementedError)


732
733
734
# File 'lib/active_support/cache.rb', line 732

def delete_matched(matcher, options = nil)
  raise NotImplementedError.new("#{self.class.name} does not support delete_matched")
end