Class: ActionController::Caching::Fragments::MemCacheStore

Inherits:
MemoryStore show all
Defined in:
lib/action_controller/caching.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from MemoryStore

#delete, #delete_matched, #read, #write

Constructor Details

#initialize(address = 'localhost') ⇒ MemCacheStore

Returns a new instance of MemCacheStore.



331
332
333
# File 'lib/action_controller/caching.rb', line 331

def initialize(address = 'localhost')
  @data, @mutex = MemCache.new(address), Mutex.new
end