Update minimum ruby version to 3.2

This commit is contained in:
Tom Hughes 2025-02-21 19:22:43 +00:00
parent 4482ed6d27
commit 2de26d54ef
11 changed files with 24 additions and 26 deletions

View file

@ -506,10 +506,10 @@ module OSM
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
raise klass.new(*args)
raise klass.new(*)
end
# Construct a random token of a given length