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

ruby-changes:21456

From: akr <ko1@a...>
Date: Sat, 22 Oct 2011 17:51:47 +0900 (JST)
Subject: [ruby-changes:21456] akr:r33505 (trunk): * lib/resolv.rb: fix a exception name in previous patch.

akr	2011-10-22 17:47:13 +0900 (Sat, 22 Oct 2011)

  New Revision: 33505

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

  Log:
    * lib/resolv.rb: fix a exception name in previous patch.

  Modified files:
    trunk/ChangeLog
    trunk/lib/resolv.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33504)
+++ ChangeLog	(revision 33505)
@@ -1,3 +1,7 @@
+Sat Oct 22 17:46:27 2011  Tanaka Akira  <akr@f...>
+
+	* lib/resolv.rb: fix a exception name in previous patch.
+
 Sat Oct 22 17:43:33 2011  Tanaka Akira  <akr@f...>
 
 	* lib/resolv.rb: make timeout configurable for DNS query.
Index: lib/resolv.rb
===================================================================
--- lib/resolv.rb	(revision 33504)
+++ lib/resolv.rb	(revision 33505)
@@ -874,7 +874,7 @@
           values = Array(values)
           values.each do |t|
             Numeric === t or raise ArgumentError, "#{t.inspect} is not numeric"
-            t > 0.0 or raise Argument, "timeout=#{t} must be postive"
+            t > 0.0 or raise ArgumentError, "timeout=#{t} must be postive"
           end
           @timeouts = values
         else

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

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