Expand description
Types and functions for working with Ruby blocks and Procs.
Structs
Wrapper type for a Value known to be an instance of Ruby’s Proc class.
Enums
Helper type for functions that either yield a single value to a block or return an Enumerator.
Helper type for functions that either yield an array to a block or return an Enumerator.
Helper type for functions that either yield multiple values to a block or return an Enumerator.
Functions
Returns whether a Ruby block has been supplied to the current method.
Returns the block given to the current method as a Proc
instance.
Yields a Ruby Array to the block given to the current method.
Yields a value to the block given to the current method.
Yields multiple values to the block given to the current method.