Programming Ruby 3.2 (5th Edition): B2.0 page 355, autocorrection needs two passes