module _ToProc
A type that’s convertible to a Proc.
This is implicitly called when the & “block-passing” operator is used, in addition to a handful of other places, such as Hash#default_proc=.
A type that’s convertible to a Proc.
This is implicitly called when the & “block-passing” operator is used, in addition to a handful of other places, such as Hash#default_proc=.