Bug #4733 » 0001-Adding-documentation-for-CGI-Cookie.patch
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
|
- « Previous
- 1
- 2
- 3
- Next »