method
[]=
[]=(key, options)
public
Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 244 def []=(key, options) if options.is_a?(Hash) options.symbolize_keys! options[:value] = @verifier.generate(options[:value]) else options = { :value => @verifier.generate(options) } end raise CookieOverflow if options[:value].size > MAX_COOKIE_SIZE @parent_jar[key] = options end