Class: Cookie::Empty

Inherits:
Cookie show all
Defined in:
lib/cookie.rb

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

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