Skip to content

Instantly share code, notes, and snippets.

@nobu nobu/feature-4840.md Secret
Created Dec 20, 2015

Embed
What would you like to do?
code 1 2 3 4
return; raise o o o o
begin return; rescue SystemExit; exit false; end o o o o
begin return; ensure exit false; end o F F o
begin ensure return; end A o o A
begin raise; ensure; return; end E A A A
begin raise; rescue; return; end E E E E
return false; raise o o o o
return 1; raise o o o o
  • o: exit successfully
  • F: exit with status 1
  • E: LocalJumpError
  • A: Abort by Stack Consistency Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.