new(options = nil)
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.
# File activesupport/lib/active_support/cache.rb, line 194 def initialize(options = nil) @options = options ? options.dup : {} @coder = @options.delete(:coder) { self.class::DEFAULT_CODER } || NullCoder end