Skip to main content

ruby_next

Function ruby_next 

Source
pub fn ruby_next(
    cx: &mut Cx,
    scope: &RubyBlockScope,
    value: Ref,
) -> Result<ControlResultValue>
Expand description

Performs a Ruby next, advancing the block scope with value.

Delegates to the control organ’s labeled non-local exit rather than defining bespoke control behavior.