summaryrefslogtreecommitdiff
path: root/lib/resolv.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-22 08:47:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-22 08:47:13 +0000
commit931226061b8fc437f8c706b67343ae7a6e25f26a (patch)
tree762b12112dd075d73181776334492b11a8c7f1bc /lib/resolv.rb
parent16f4ecbc8cb83f0cadf02eb254623c27ea1946f1 (diff)
* lib/resolv.rb: fix a exception name in previous patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33505 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 89094a0ebf..6b4e06ad9d 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -874,7 +874,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 Argument, "timeout=#{t} must be postive"
+ t > 0.0 or raise ArgumentError, "timeout=#{t} must be postive"
end
@timeouts = values
else