method

expires=

ruby latest stable - Class: WEBrick::Cookie
expires=(t)
public

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.