Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Psych::ScalarScanner#parse_int
parse_int(string)
ext/psych/lib/psych/scalar_scanner.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/psych/lib/psych/scalar_scanner.rb, line 108
def parse_int string
Integer(string.delete(',_'))
end
Parse and return an int from string