method

secure=

ruby latest stable - Class: CGI::Cookie
secure=(val)
public

Set whether the Cookie is a secure cookie or not.

val must be a boolean.