method
build_mem_cache
v4.1.8 -
Show latest stable
- Class:
ActiveSupport::Cache::MemCacheStore
build_mem_cache(*addresses)public
No documentation available.
# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 29
def self.build_mem_cache(*addresses)
addresses = addresses.flatten
options = addresses.extract_options!
addresses = ["localhost:11211"] if addresses.empty?
Dalli::Client.new(addresses, options)
end