lib/net/dns/resolver/timeouts.rb in net-dns-0.6.1 vs lib/net/dns/resolver/timeouts.rb in net-dns-0.7.0
- old
+ new
@@ -11,10 +11,10 @@
def initialize(seconds)
if seconds.is_a? Numeric and seconds >= 0
@seconds = seconds
else
- raise ::ArgumentError, "Invalid value for tcp timeout"
+ raise ArgumentError, "Invalid value for tcp timeout"
end
end
# Returns a string representation of the timeout corresponding
# to the number of <tt>@seconds</tt>.
\ No newline at end of file