Skip to content

Commit

Permalink
Merge pull request #20251 from davydovanton/doc-memory-store
Browse files Browse the repository at this point in the history
Add nodoc label for protected Cache methods
  • Loading branch information
rafaelfranca committed May 21, 2015
2 parents dc53766 + 15df1dc commit d13b4e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/cache/memory_store.rb
Expand Up @@ -126,7 +126,7 @@ def synchronize(&block) # :nodoc:

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

Expand Down
Expand Up @@ -120,7 +120,7 @@ def delete_entry(key, options) # :nodoc:
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
Expand Down

0 comments on commit d13b4e2

Please sign in to comment.