From 387f1a557f6e45692629556183f44decd5a28641 Mon Sep 17 00:00:00 2001 From: Clinton R. Nixon Date: Wed, 18 May 2011 15:01:04 -0400 Subject: [PATCH] Adding documentation for CGI::Cookie --- lib/cgi/cookie.rb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/cgi/cookie.rb b/lib/cgi/cookie.rb index f05f83e..c252693 100644 --- a/lib/cgi/cookie.rb +++ b/lib/cgi/cookie.rb @@ -104,10 +104,12 @@ class CGI # True if this cookie is secure; false otherwise attr_reader("secure") + # Returns the value or list of values for this cookie. def value self end + # Replaces the value of this cookie with a new value or list of values. def value=(val) replace(Array(val)) end -- 1.7.5.1