summaryrefslogtreecommitdiff
path: root/lib/cgi/core.rb
diff options
context:
space:
mode:
authorxibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-03 23:19:26 +0000
committerxibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-03 23:19:26 +0000
commitb25f743057f4d9483655e66d3e9c38136f693253 (patch)
tree4245d19a6e6353c4384cc9473c21dba26f423784 /lib/cgi/core.rb
parent0e9b0c8c84e08bdb7a8308dfdafee2346ad9995e (diff)
Wed Jul 4 08:11:15 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/core.rb,html.rb: fix typo.[Bug #6632] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi/core.rb')
-rw-r--r--lib/cgi/core.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb
index e961b16474..376ad01130 100644
--- a/lib/cgi/core.rb
+++ b/lib/cgi/core.rb
@@ -67,8 +67,8 @@ class CGI
# Create an HTTP header block as a string.
#
# :call-seq:
- # headers(content_type_string="text/html")
- # headers(headers_hash)
+ # header(content_type_string="text/html")
+ # header(headers_hash)
#
# Includes the empty line that ends the header block.
#
@@ -452,10 +452,10 @@ class CGI
end
##
- # Parses multipart form elements according to
+ # Parses multipart form elements according to
# http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2
#
- # Returns a hash of multipart form parameters with bodies of type StringIO or
+ # Returns a hash of multipart form parameters with bodies of type StringIO or
# Tempfile depending on whether the multipart form element exceeds 10 KB
#
# params[name => body]