diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-22 08:47:13 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-22 08:47:13 +0000 |
commit | 931226061b8fc437f8c706b67343ae7a6e25f26a (patch) | |
tree | 762b12112dd075d73181776334492b11a8c7f1bc /lib | |
parent | 16f4ecbc8cb83f0cadf02eb254623c27ea1946f1 (diff) | |
download | ruby-931226061b8fc437f8c706b67343ae7a6e25f26a.tar.gz |
* 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')
-rw-r--r-- | lib/resolv.rb | 2 |
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 |