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

ruby-changes:17985

From: drbrain <ko1@a...>
Date: Thu, 2 Dec 2010 02:33:20 +0900 (JST)
Subject: [ruby-changes:17985] Ruby:r30006 (trunk): Fix positional wording in lib/net/http.rb to match revised order

drbrain	2010-12-02 02:31:20 +0900 (Thu, 02 Dec 2010)

  New Revision: 30006

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

  Log:
    Fix positional wording in lib/net/http.rb to match revised order

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30005)
+++ ChangeLog	(revision 30006)
@@ -1,3 +1,7 @@
+Thu Dec  2 02:30:50 2010  Eric Hodel  <drbrain@s...>
+
+	* lib/net/http.rb: fixed positional wording to match revised order.
+
 Thu Dec  2 01:24:39 2010  NARUSE, Yui  <naruse@r...>
 
 	* ext/json/lib/json/common.rb: don't use iconv on 1.9.
Index: lib/net/http.rb
===================================================================
--- lib/net/http.rb	(revision 30005)
+++ lib/net/http.rb	(revision 30006)
@@ -44,7 +44,13 @@
   #
   # == Simple Examples
   #
-  # The Net::HTTP methods in the following examples do not persist
+  # All examples assume you have loaded Net::HTTP with:
+  #
+  #   require 'net/http'
+  #
+  # This will also require 'uri' so you don't need to require it separately.
+  #
+  # The Net::HTTP methods in the following section do not persist
   # connections.  They are not recommended if you are performing many HTTP
   # requests.
   #
@@ -80,17 +86,9 @@
   #
   # == How to use Net::HTTP
   #
-  # Net::HTTP provides several convenience methods for performing a GET on a
-  # web server which are described below.
-  #
-  # All examples assume you have loaded Net::HTTP with:
-  #
-  #   require 'net/http'
-  #
-  # This will also require 'uri' so you don't need to require it separately.
-  #
   # The following example code can be used as the basis of a HTTP user-agent
-  # which will perform a variety of request types.
+  # which can perform a variety of request types using persistent
+  # connections.
   #
   #   uri = URI('http://example.com/some_path?query=string')
   #

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

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