Programming Ruby 3.2 (5th Edition): B4.0 page 559, missing optional block

@noelrappin

page 559, paragraph after example at top of page, second line :

CSV.open(path, mode = “rb”, options). The open method passes the new CSV object to block. You

The open method passes to block but there is no block in the signature.
Should be : CSV.open(path, mode = "rb", options)[{ |csv| block }]

Yes, it should