# File lib/ramaze/cache/memcache.rb, line 138 def cache_setup(hostname, username, appname, cachename) # Validate the maximum TTL if options[:expires_in] > MAX_TTL raise(ArgumentError, "The maximum TTL of Memcache is 30 days") end options[:namespace] = [ hostname, username, appname, cachename ].compact.join('-') @client = ::Dalli::Client.new(options[:servers], options) end