class ActionDispatch::Cookies::PermanentCookieJar
:nodoc:
def []=(key, options)
def []=(key, options) if options.is_a?(Hash) options.symbolize_keys! else options = { :value => options } end options[:expires] = 20.years.from_now @parent_jar[key] = options end
def initialize(parent_jar, secret)
def initialize(parent_jar, secret) @parent_jar, @secret = parent_jar, secret end
def method_missing(method, *arguments, &block)
def method_missing(method, *arguments, &block) @parent_jar.send(method, *arguments, &block) end
def signed
def signed @signed ||= SignedCookieJar.new(self, @secret) end