diff options
author | Anton Davydov <antondavydov.o@gmail.com> | 2015-05-22 00:36:07 +0300 |
---|---|---|
committer | Anton Davydov <antondavydov.o@gmail.com> | 2015-05-22 00:42:26 +0300 |
commit | 15df1dc2b042c28b723ccfde7d66df6875a53d6b (patch) | |
tree | a300759046d592ddda5082a57547605c22419144 /activesupport | |
parent | f271f43f1059982e4e43c29ba2f8abc974ba0ea8 (diff) | |
download | rails-15df1dc2b042c28b723ccfde7d66df6875a53d6b.tar.gz rails-15df1dc2b042c28b723ccfde7d66df6875a53d6b.tar.bz2 rails-15df1dc2b042c28b723ccfde7d66df6875a53d6b.zip |
[skip ci] Add nodoc label for protected Cache methods
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/cache/memory_store.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/cache/strategy/local_cache.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/cache/memory_store.rb b/activesupport/lib/active_support/cache/memory_store.rb index 8a0523d0e2..90bb2c38c3 100644 --- a/activesupport/lib/active_support/cache/memory_store.rb +++ b/activesupport/lib/active_support/cache/memory_store.rb @@ -126,7 +126,7 @@ module ActiveSupport PER_ENTRY_OVERHEAD = 240 - def cached_size(key, entry) + def cached_size(key, entry) # :nodoc: key.to_s.bytesize + entry.size + PER_ENTRY_OVERHEAD end diff --git a/activesupport/lib/active_support/cache/strategy/local_cache.rb b/activesupport/lib/active_support/cache/strategy/local_cache.rb index a913736fc3..fe5bc82c30 100644 --- a/activesupport/lib/active_support/cache/strategy/local_cache.rb +++ b/activesupport/lib/active_support/cache/strategy/local_cache.rb @@ -120,7 +120,7 @@ module ActiveSupport super end - def set_cache_value(value, name, amount, options) + def set_cache_value(value, name, amount, options) # :nodoc: if local_cache local_cache.mute do if value |