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

ruby-changes:32068

From: a_matsuda <ko1@a...>
Date: Thu, 12 Dec 2013 15:17:41 +0900 (JST)
Subject: [ruby-changes:32068] a_matsuda:r44147 (trunk): * lib/resolv.rb: Fix typo in an error message

a_matsuda	2013-12-12 15:17:31 +0900 (Thu, 12 Dec 2013)

  New Revision: 44147

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

  Log:
    * lib/resolv.rb:  Fix typo in an error message
    
    s/postive/positive/

  Modified files:
    trunk/lib/resolv.rb
Index: lib/resolv.rb
===================================================================
--- lib/resolv.rb	(revision 44146)
+++ lib/resolv.rb	(revision 44147)
@@ -908,7 +908,7 @@ class Resolv https://github.com/ruby/ruby/blob/trunk/lib/resolv.rb#L908
           values = Array(values)
           values.each do |t|
             Numeric === t or raise ArgumentError, "#{t.inspect} is not numeric"
-            t > 0.0 or raise ArgumentError, "timeout=#{t} must be postive"
+            t > 0.0 or raise ArgumentError, "timeout=#{t} must be positive"
           end
           @timeouts = values
         else

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

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