I guess most Rubyists know that you can use the methods Integer#succ1 and its alias Integer#next to increment a number. E.g.: 1.succ # => 2 The method is rarely used directly, but it’s used internally by ranges to compute the elements within the range boundaries: (1..10).to_a # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] It’s not so widely known that strings also implement succ. The official docs describe String#succ like this: Returns the successor to str. The successor is calculated by increment...