]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm.rb
Update minimum ruby version to 3.2
[rails.git] / lib / osm.rb
index 6710ee88e02b947c1294bb97d309e0d1e60b4118..b0c314cbc8258c2b3010377776c4990434229d99 100644 (file)
@@ -506,10 +506,10 @@ module OSM
   end
 
   # Parse a float, raising a specified exception on failure
   end
 
   # Parse a float, raising a specified exception on failure
-  def self.parse_float(str, klass, *args)
+  def self.parse_float(str, klass, *)
     Float(str)
   rescue StandardError
     Float(str)
   rescue StandardError
-    raise klass.new(*args)
+    raise klass.new(*)
   end
 
   # Construct a random token of a given length
   end
 
   # Construct a random token of a given length