Skip to main content

ruby_break

Function ruby_break 

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

Performs a Ruby break, escaping the block scope with value.

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