Function magnus::block::yield_splat

source ·
pub fn yield_splat<T>(vals: RArray) -> Result<T, Error>where
    T: TryConvert,
Expand description

Yields a Ruby Array to the block given to the current method.

Note: A method using yield_splat converted to an Enumerator with to_enum/Value::enumeratorize will result in a non-functional Enumerator. See YieldSplat for an alternative.