aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2019-03-08 20:05:08 +0100
committerGitHub <noreply@github.com>2019-03-08 20:05:08 +0100
commit2c33932e9b2693eee20b938260fbe44c9f9f5085 (patch)
tree50ee781c393d4709801166344be5e5851a73c650 /activesupport
parentb686b671913bddcfcc8b27ca3b0802c9228372a7 (diff)
parent5103a5ef4b2ca822b7271d5bfe6892ed3960bca3 (diff)
downloadrails-2c33932e9b2693eee20b938260fbe44c9f9f5085.tar.gz
rails-2c33932e9b2693eee20b938260fbe44c9f9f5085.tar.bz2
rails-2c33932e9b2693eee20b938260fbe44c9f9f5085.zip
Merge pull request #35536 from alexander-lazarov/improve-cache-docs
Improve wording in cache documentation
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 30a69c550b..e055135bb4 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -492,7 +492,7 @@ module ActiveSupport
#
# Options are passed to the underlying cache implementation.
#
- # All implementations may not support this method.
+ # Some implementations may not support this method.
def delete_matched(matcher, options = nil)
raise NotImplementedError.new("#{self.class.name} does not support delete_matched")
end
@@ -501,7 +501,7 @@ module ActiveSupport
#
# Options are passed to the underlying cache implementation.
#
- # All implementations may not support this method.
+ # Some implementations may not support this method.
def increment(name, amount = 1, options = nil)
raise NotImplementedError.new("#{self.class.name} does not support increment")
end
@@ -510,7 +510,7 @@ module ActiveSupport
#
# Options are passed to the underlying cache implementation.
#
- # All implementations may not support this method.
+ # Some implementations may not support this method.
def decrement(name, amount = 1, options = nil)
raise NotImplementedError.new("#{self.class.name} does not support decrement")
end
@@ -519,7 +519,7 @@ module ActiveSupport
#
# Options are passed to the underlying cache implementation.
#
- # All implementations may not support this method.
+ # Some implementations may not support this method.
def cleanup(options = nil)
raise NotImplementedError.new("#{self.class.name} does not support cleanup")
end
@@ -529,7 +529,7 @@ module ActiveSupport
#
# The options hash is passed to the underlying cache implementation.
#
- # All implementations may not support this method.
+ # Some implementations may not support this method.
def clear(options = nil)
raise NotImplementedError.new("#{self.class.name} does not support clear")
end