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

ruby-changes:27088

From: zzak <ko1@a...>
Date: Fri, 8 Feb 2013 08:01:58 +0900 (JST)
Subject: [ruby-changes:27088] zzak:r39141 (trunk): * lib/net/http.rb (HTTP.post_form): Fix module scope in documentation

zzak	2013-02-08 07:35:25 +0900 (Fri, 08 Feb 2013)

  New Revision: 39141

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

  Log:
    * lib/net/http.rb (HTTP.post_form): Fix module scope in documentation
      Patch by David Albert [Bug #7794] [ruby-core:51955]

  Modified files:
    trunk/ChangeLog
    trunk/lib/net/http.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39140)
+++ ChangeLog	(revision 39141)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Feb  8 07:34:00 2013  Zachary Scott  <zachary@z...>
+
+	* lib/net/http.rb (HTTP.post_form): Fix module scope in documentation
+	  Patch by David Albert [Bug #7794] [ruby-core:51955]
+
 Fri Feb  8 07:33:00 2013  Zachary Scott  <zachary@z...>
 
 	* compar.c (cmp_equal): Document ignored exception and return false
Index: lib/net/http.rb
===================================================================
--- lib/net/http.rb	(revision 39140)
+++ lib/net/http.rb	(revision 39141)
@@ -496,8 +496,8 @@ module Net   #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L496
     #   require 'net/http'
     #   require 'uri'
     #
-    #   HTTP.post_form URI('http://www.example.com/search.cgi'),
-    #                  { "q" => "ruby", "max" => "50" }
+    #   Net::HTTP.post_form URI('http://www.example.com/search.cgi'),
+    #                       { "q" => "ruby", "max" => "50" }
     #
     def HTTP.post_form(url, params)
       req = Post.new(url)

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

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