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
This commit is contained in:
xibbar 2012-07-03 23:19:26 +00:00
parent 0e9b0c8c84
commit b25f743057
2 changed files with 6 additions and 6 deletions

View File

@ -67,8 +67,8 @@ class CGI
# Create an HTTP header block as a string. # Create an HTTP header block as a string.
# #
# :call-seq: # :call-seq:
# headers(content_type_string="text/html") # header(content_type_string="text/html")
# headers(headers_hash) # header(headers_hash)
# #
# Includes the empty line that ends the header block. # Includes the empty line that ends the header block.
# #
@ -452,10 +452,10 @@ class CGI
end 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 # 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 # Tempfile depending on whether the multipart form element exceeds 10 KB
# #
# params[name => body] # params[name => body]

View File

@ -63,8 +63,8 @@ class CGI
# cgi.a("http://www.example.com") { "Example" } # cgi.a("http://www.example.com") { "Example" }
# # => "<A HREF=\"http://www.example.com\">Example</A>" # # => "<A HREF=\"http://www.example.com\">Example</A>"
# #
# Modules Http3, Http4, etc., contain more basic HTML-generation methods # Modules Html3, Html4, etc., contain more basic HTML-generation methods
# (:title, :center, etc.). # (+#title+, +#h1+, etc.).
# #
# See class CGI for a detailed example. # See class CGI for a detailed example.
# #