concept procs in category ruby
appears as: procs

This is an excerpt from Manning's book The Well-Grounded Rubyist, Third Edition.
You can, of course, also use “sponge” arguments and all the rest of the parameter-list paraphernalia you’ve already learned about. But keep in mind the point that procs are a little less fussy than methods about their argument count—their arity. Still, Ruby provides a way to create fussier functions: the lambda method.
Conversion between blocks and procs is easy—which isn’t too surprising, because the purpose of a code block is to be executed, and a proc is an object whose job is to provide execution access to a previously defined code block. We’ll look first at block-to-proc conversions and then at the use of procs in place of blocks.