method

new

new(options = nil)
public

Creates a new cache. The options will be passed to any write method calls except for :namespace which can be used to set the global namespace for the cache.