Class: Cookie::Empty
Overview
Helper for cookie deletion
Constant Summary
Constants inherited from Cookie
COOKIE_SEPARATOR, DOUBLE_COLON, EMPTY_ARRAY, EMPTY_HASH, EMPTY_STRING, Error, NAME_VALUE_SEPARATOR, VERSION
Instance Method Summary collapse
-
#initialize(name) ⇒ Empty
constructor
A new instance of Empty.
Methods inherited from Cookie
coerce, #decode, #decrypt, #encode, #encrypt, #to_s
Constructor Details
#initialize(name) ⇒ Empty
Returns a new instance of Empty.
33 34 35 |
# File 'lib/cookie.rb', line 33 def initialize(name) super(name, nil) end |