Sha256: d7a7b6c5e8094ad06776bafd9c83f6a8492ec0d8b625d2b840e19b42f93244af
Contents?: true
Size: 1.52 KB
Versions: 12
Compression:
Stored size: 1.52 KB
Contents
o:#YARD::CodeObjects::ClassObject:@childrenIC:&YARD::CodeObjects::CodeObjectList[Iu:YARD::StubProxyLocalJumpError#exit_value:EFIu;LocalJumpError#reason; F:@ownerIu;LocalJumpError; F:@class_mixinsIC;[ ; Iu;LocalJumpError; F:@instance_mixinsIC;[ ; Iu;LocalJumpError; F:@attributesIC:SymbolHash{: classIC;{ :@symbolize_valueT: instanceIC;{ ;T;T: @aliases{ :@groups[ :@files[[I"proc.c; T0:@current_file_has_commentsF: @name:LocalJumpError:@source_type: ruby: @tags[ :@docstringIC:YARD::Docstring"ŸRaised when Ruby can't yield as requested. A typical scenario is attempting to yield when no block is given: def call_block yield 42 end call_block <em>raises the exception:</em> LocalJumpError: no block given (yield) A more subtle example: def get_me_a_return Proc.new { return 42 } end get_me_a_return.call <em>raises the exception:</em> LocalJumpError: unexpected return; F:@objectIu;LocalJumpError; F: @summary0:@ref_tags[ ;[ : @allI" Raised when Ruby can't yield as requested. A typical scenario is attempting to yield when no block is given: def call_block yield 42 end call_block <em>raises the exception:</em> LocalJumpError: no block given (yield) A more subtle example: def get_me_a_return Proc.new { return 42 } end get_me_a_return.call <em>raises the exception:</em> LocalJumpError: unexpected return ; F:@namespaceIu; ; F: @pathI"LocalJumpError; F:@superclassIu;StandardError; F:@docstring_extra0
Version data entries
12 entries across 12 versions & 2 rubygems