Use OSM::Timer (and hence SystemTimer) consistently
[rails.git] / lib / osm.rb
index a85a7dfecd91be7d22ee18f07c3e8c252371932a..dd62d6620c7ca4f06eb7f726ba962eb0a39e0241 100644 (file)
@@ -455,7 +455,7 @@ module OSM
   end
 
   def self.IPToCountry(ip_address)
-    Timeout::timeout(4) do
+    Timer.timeout(4) do
       ipinfo = Quova::IpInfo.new(ip_address)
 
       if ipinfo.status == Quova::Success then