lib/active_support/cache.rb in activesupport-5.1.1 vs lib/active_support/cache.rb in activesupport-5.1.2.rc1
- old
+ new
@@ -464,10 +464,10 @@
# affect other processes if shared cache is being used.
#
# The options hash is passed to the underlying cache implementation.
#
# All implementations may not support this method.
- def clear
+ def clear(options = nil)
raise NotImplementedError.new("#{self.class.name} does not support clear")
end
private
# Adds the namespace defined in the options to a pattern designed to