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"#raises the exception:;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"#raises the exception:;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@D[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;
0;0[@/@/cRDoc::TopLevel