End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
LocalJumpError#exit_value
local_jump_error.exit_value → obj
proc.c
View on GitHub ↗
static VALUE
localjump_xvalue(VALUE exc)
{
return rb_iv_get(exc, "@exit_value");
}
Returns the exit value associated with this LocalJumpError.