class method
self.new
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
self.new(app, options = {})
No documentation comment.
Parameters
-
appreq -
optionsopt = {}
Source
# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 10
def initialize(app, options = {})
require 'memcache'
options[:expire_after] ||= options[:expires]
super
end
Defined in actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Session::MemCacheStore