It's Advent of Code season. Every year I re-remember a language or stdlib feature I'd forgot. Today is divmod which give the result of a division and modulo in one operation.
quotient, remainder = 105.divmod(100)
puts quotient
puts remainder
# => 100
# => 6