Programming Ruby 3.2 (5th Edition): B4.0 page 614, whether a object

Thanks, fixed