Maintenance Ruby 3.3 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.3.0/ext/psych/lib/psych/scalar_scanner.rb, line 109
def parse_int string
Integer(string.delete(',_'))
end
Parse and return an int from string