Project

General

Profile

Bug #4733 » 0001-Adding-documentation-for-CGI-Cookie.patch

crnixon (Clinton Nixon), 05/19/2011 04:01 AM

View differences:

lib/cgi/cookie.rb
# 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
(3-3/3)