diff options
author | Yosuke Kabuto <bluewhale1982@gmail.com> | 2016-07-02 21:46:52 +0900 |
---|---|---|
committer | Yosuke Kabuto <bluewhale1982@gmail.com> | 2016-07-02 23:58:14 +0900 |
commit | b76f82d714e590c20370e72fa36fa574c4f17650 (patch) | |
tree | 09fad3494ff02f6705416338d083c46bfe4219bd /activesupport/lib/active_support/cache.rb | |
parent | 49fe7c66874b7b92ff1587b35777a760ac75be9b (diff) | |
download | rails-b76f82d714e590c20370e72fa36fa574c4f17650.tar.gz rails-b76f82d714e590c20370e72fa36fa574c4f17650.tar.bz2 rails-b76f82d714e590c20370e72fa36fa574c4f17650.zip |
Update CHANGELOG.md for #25628 [ci skip]
Move new CHANGELOG entry top [ci skip]
Remove parameter "options = nil" for #clear
Diffstat (limited to 'activesupport/lib/active_support/cache.rb')
-rw-r--r-- | activesupport/lib/active_support/cache.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index 179ca13b49..a095d8664d 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -464,7 +464,7 @@ module ActiveSupport # The options hash is passed to the underlying cache implementation. # # All implementations may not support this method. - def clear(options = nil) + def clear raise NotImplementedError.new("#{self.class.name} does not support clear") end |