Programming Ruby 3.2 (5th Edition): B2.0 page 472, twice is

@noelrappin

page 472, paragraph after Safe Navigation, line 2 : twice is

method is is not called and the entire expression returns nil. If the receiver is not nil, then the
       ^^^^^ <-----

Fixed!