ruby-3-3 Storing blocks in proc