mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
994bb6d36d
commit
ba672b6de1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue