summaryrefslogtreecommitdiff
path: root/lib/resolv.rb
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-12 06:17:31 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-12 06:17:31 +0000
commitba672b6de106d63625ce5c42f932c08cc1fcdebf (patch)
tree34dd10640fb456ab807bf720b3e8683aec8f9125 /lib/resolv.rb
parent994bb6d36d8717f7566fd6e953d629b6e2c30926 (diff)
* lib/resolv.rb: Fix typo in an error message
s/postive/positive/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/resolv.rb')
-rw-r--r--lib/resolv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb
index d8ee487cfc..6d34a67e09 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -908,7 +908,7 @@ class Resolv
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