Minor documentation fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fb55a6d12f
commit
ea6b397daa
@ -128,7 +128,7 @@ require 'English'
|
|||||||
#
|
#
|
||||||
# === Writing output
|
# === Writing output
|
||||||
#
|
#
|
||||||
# The simplest way send output to the HTTP client is using the #out() method.
|
# The simplest way to send output to the HTTP client is using the #out() method.
|
||||||
# This takes the HTTP headers as a hash parameter, and the body content
|
# This takes the HTTP headers as a hash parameter, and the body content
|
||||||
# via a block. The headers can be generated as a string using the #header()
|
# via a block. The headers can be generated as a string using the #header()
|
||||||
# method. The output stream can be written directly to using the #print()
|
# method. The output stream can be written directly to using the #print()
|
||||||
@ -783,7 +783,7 @@ class CGI
|
|||||||
# value:: the cookie's value or list of values.
|
# value:: the cookie's value or list of values.
|
||||||
# path:: the path for which this cookie applies. Defaults to the
|
# path:: the path for which this cookie applies. Defaults to the
|
||||||
# base directory of the CGI script.
|
# base directory of the CGI script.
|
||||||
# domain:: the for which this cookie applies.
|
# domain:: the domain for which this cookie applies.
|
||||||
# expires:: the time at which this cookie expires, as a +Time+ object.
|
# expires:: the time at which this cookie expires, as a +Time+ object.
|
||||||
# secure:: whether this cookie is a secure cookie or not (default to
|
# secure:: whether this cookie is a secure cookie or not (default to
|
||||||
# false). Secure cookies are only transmitted to HTTPS
|
# false). Secure cookies are only transmitted to HTTPS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user