Skip to content

Instantly share code, notes, and snippets.

@michaelklishin
Created August 3, 2008 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelklishin/3839 to your computer and use it in GitHub Desktop.
Save michaelklishin/3839 to your computer and use it in GitHub Desktop.
# Set whether the Cookie is a secure cookie or not.
#
# +val+ must be a boolean.
def secure=(val)
@secure = val if val == true or val == false
@secure
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment