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

ruby-changes:29714

From: hsbt <ko1@a...>
Date: Thu, 4 Jul 2013 11:53:30 +0900 (JST)
Subject: [ruby-changes:29714] hsbt:r41766 (trunk): Fixing example in comments that raised an error by @JackDanger [fix GH-345]

hsbt	2013-07-04 11:53:16 +0900 (Thu, 04 Jul 2013)

  New Revision: 41766

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

  Log:
    Fixing example in comments that raised an error by @JackDanger [fix GH-345]

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

Index: lib/net/http.rb
===================================================================
--- lib/net/http.rb	(revision 41765)
+++ lib/net/http.rb	(revision 41766)
@@ -671,7 +671,7 @@ module Net   #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L671
     #
     # Sets an output stream for debugging.
     #
-    #   http = Net::HTTP.new
+    #   http = Net::HTTP.new(hostname)
     #   http.set_debug_output $stderr
     #   http.start { .... }
     #

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

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