summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorwew <wew@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-07 03:52:02 +0000
committerwew <wew@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-07 03:52:02 +0000
commit8db980539047519ed22bce59ddee5cedce807900 (patch)
treecbc939053b97cfe7fc93f86c894c6869aeef8caf /lib
parenta55682a2dbf68c851dec212e0d788f75635252a4 (diff)
downloadruby-8db980539047519ed22bce59ddee5cedce807900.tar.gz
ruby-8db980539047519ed22bce59ddee5cedce807900.tar.xz
ruby-8db980539047519ed22bce59ddee5cedce807900.zip
Minor documentation fix.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/cgi.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index fc9477294..29351c24b 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