Exception: LocalJumpError
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- LocalJumpError
- Defined in:
- eval.c
Instance Method Summary collapse
-
#exit_value ⇒ Object
call_seq: local_jump_error.exit_value => obj.
-
#reason ⇒ Object
The reason this block was terminated: :break, :redo, :retry, :next, :return, or :noreason.
Methods inherited from Exception
#backtrace, #exception, exception, #initialize, #inspect, #message, #set_backtrace, #to_s, #to_str
Constructor Details
This class inherits a constructor from Exception
Instance Method Details
#exit_value ⇒ Object
call_seq:
local_jump_error.exit_value => obj
Returns the exit value associated with this LocalJumpError
.
1756 1757 1758 |
# File 'eval.c', line 1756 static VALUE localjump_xvalue(exc) VALUE exc; |
#reason ⇒ Object
The reason this block was terminated: :break, :redo, :retry, :next, :return, or :noreason.
1771 1772 1773 |
# File 'eval.c', line 1771 static VALUE localjump_reason(exc) VALUE exc; |