Class: ActionController::Caching::Fragments::MemCacheStore
- Inherits:
-
MemoryStore
- Object
- MemoryStore
- ActionController::Caching::Fragments::MemCacheStore
- Defined in:
- lib/action_controller/caching.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(address = 'localhost') ⇒ MemCacheStore
constructor
A new instance of MemCacheStore.
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 |