method
build_mem_cache
v6.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::MemCacheStore
build_mem_cache(*addresses)public
Creates a new Dalli::Client instance with specified addresses and options. By default address is equal localhost:11211.
ActiveSupport::Cache::MemCacheStore.build_mem_cache # => #<Dalli::Client:0x007f98a47d2028 @servers=["localhost:11211"], @options={}, @ring=nil> ActiveSupport::Cache::MemCacheStore.build_mem_cache('localhost:10290') # => #<Dalli::Client:0x007f98a47b3a60 @servers=["localhost:10290"], @options={}, @ring=nil>