📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 00:36:20
📂
/ (Root)
/
opt
/
alt
/
ruby30
/
share
/
ri
/
system
/
LocalJumpError
📍 /opt/alt/ruby30/share/ri/system/LocalJumpError
🔄 Refresh
✏️
Editing: cdesc-LocalJumpError.ri
Read Only
U:RDoc::NormalClass[iI"LocalJumpError:ET@I"StandardError;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"/Raised when Ruby can't yield as requested.;To:RDoc::Markup::BlankLine o; ;[I"FA typical scenario is attempting to yield when no block is given:;T@o:RDoc::Markup::Verbatim;[ I"def call_block ;TI" yield 42 ;TI" end ;TI"call_block ;T:@format0o; ;[I"#<em>raises the exception:</em>;T@o;;[I",LocalJumpError: no block given (yield) ;T;0o; ;[I"A more subtle example:;T@o;;[ I"def get_me_a_return ;TI" Proc.new { return 42 } ;TI" end ;TI"get_me_a_return.call ;T;0o; ;[I"#<em>raises the exception:</em>;T@o;;[I"&LocalJumpError: unexpected return;T;0: @fileI"proc.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[I"exit_value;TI"proc.c;T[I"reason;T@H[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"proc.c;T@/cRDoc::TopLevel
💾 Save Changes
❌ Cancel