[前][次][番号順一覧][スレッド一覧]

ruby-changes:24245

From: xibbar <ko1@a...>
Date: Wed, 4 Jul 2012 08:19:36 +0900 (JST)
Subject: [ruby-changes:24245] xibbar:r36296 (trunk): * lib/cgi/core.rb,html.rb: fix typo.[Bug #6632]

xibbar	2012-07-04 08:19:26 +0900 (Wed, 04 Jul 2012)

  New Revision: 36296

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36296

  Log:
    * lib/cgi/core.rb,html.rb: fix typo.[Bug #6632]

  Modified files:
    trunk/lib/cgi/core.rb
    trunk/lib/cgi/html.rb

Index: lib/cgi/html.rb
===================================================================
--- lib/cgi/html.rb	(revision 36295)
+++ lib/cgi/html.rb	(revision 36296)
@@ -63,8 +63,8 @@
   #   cgi.a("http://www.example.com") { "Example" }
   #     # => "<A HREF=\"http://www.example.com\">Example</A>"
   #
-  # Modules Http3, Http4, etc., contain more basic HTML-generation methods
-  # (:title, :center, etc.).
+  # Modules Html3, Html4, etc., contain more basic HTML-generation methods
+  # (+#title+, +#h1+, etc.).
   #
   # See class CGI for a detailed example.
   #
Index: lib/cgi/core.rb
===================================================================
--- lib/cgi/core.rb	(revision 36295)
+++ lib/cgi/core.rb	(revision 36296)
@@ -67,8 +67,8 @@
   # 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 @@
     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]

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]