Module: Cache::ActiveSupportCacheDalliStore

Defined in:
lib/cache/active_support_cache_dalli_store.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



3
4
5
# File 'lib/cache/active_support_cache_dalli_store.rb', line 3

def self.extended(base)
  base.extend Cache::ActiveSupportCacheStore
end

Instance Method Details

#_statsObject



11
12
13
# File 'lib/cache/active_support_cache_dalli_store.rb', line 11

def _stats
  @metal.stats
end

#after_forkObject



7
8
9
# File 'lib/cache/active_support_cache_dalli_store.rb', line 7

def after_fork
  @metal.reset
end