diff options
author | wew <wew@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-07 03:52:02 +0000 |
---|---|---|
committer | wew <wew@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-07 03:52:02 +0000 |
commit | ea6b397daabe2b5092a9fa51b59e271d927cdffb (patch) | |
tree | cbc939053b97cfe7fc93f86c894c6869aeef8caf /lib/cgi.rb | |
parent | fb55a6d12f0d54f9107de665a3e12fc522b46335 (diff) |
Minor documentation fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r-- | lib/cgi.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb index fc94772948..29351c24bf 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -128,7 +128,7 @@ require 'English' # # === 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 # 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() @@ -783,7 +783,7 @@ class CGI # value:: the cookie's value or list of values. # path:: the path for which this cookie applies. Defaults to the # 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. # secure:: whether this cookie is a secure cookie or not (default to # false). Secure cookies are only transmitted to HTTPS |