Programming Ruby 3.2 (5th Edition): B4.0 page 570, with with

@noelrappin

page 570, in Creating, Opening, and Closing Streams, first paragraph, second to last line : twice with

duration of the block. The new method requires you to explicitly close the string with with
                                                                           -----> ^^^^^^^^^

Yep, fixed.