class RestrictCache::CacheCollection::InnerCache
Public Class Methods
new()
click to toggle source
# File lib/restrict_cache/cache_collection/inner_cache.rb, line 4 def initialize @caches = {} end
Public Instance Methods
add(content)
click to toggle source
# File lib/restrict_cache/cache_collection/inner_cache.rb, line 8 def add(content) raise NotImplementedError end
contents(_table_name)
click to toggle source
# File lib/restrict_cache/cache_collection/inner_cache.rb, line 12 def contents(_table_name) raise NotImplementedError end
size()
click to toggle source
# File lib/restrict_cache/cache_collection/inner_cache.rb, line 16 def size @caches.size end