= private = protected
expires=(t)
Sets the cookie expiration to the time t. The expiration time may be a false value to disable expiration or a Time or HTTP format time string to set the expiration date.
# File lib/webrick/cookie.rb, line 79 def expires=(t) @expires = t && (t.is_a?(Time) ? t.httpdate : t.to_s) end