Class: RestrictCache::CacheCollection::InnerCache
- Inherits:
-
Object
- Object
- RestrictCache::CacheCollection::InnerCache
show all
- Defined in:
- lib/restrict_cache/cache_collection/inner_cache.rb
Instance Method Summary
collapse
Constructor Details
Returns a new instance of InnerCache.
4
5
6
|
# File 'lib/restrict_cache/cache_collection/inner_cache.rb', line 4
def initialize
@caches = {}
end
|
Instance Method Details
#add(content) ⇒ Object
8
9
10
|
# File 'lib/restrict_cache/cache_collection/inner_cache.rb', line 8
def add(content)
raise NotImplementedError
end
|
#contents(_table_name) ⇒ Object
12
13
14
|
# File 'lib/restrict_cache/cache_collection/inner_cache.rb', line 12
def contents(_table_name)
raise NotImplementedError
end
|
#size ⇒ Object
16
17
18
|
# File 'lib/restrict_cache/cache_collection/inner_cache.rb', line 16
def size
@caches.size
end
|