Programming Ruby 3.2 (5th Edition): B4.0 page 611, As a example

Thanks!