Skip to content

Instantly share code, notes, and snippets.

@banister
Created January 23, 2013 22:44
Show Gist options
  • Save banister/3be7c70afa7dae578336 to your computer and use it in GitHub Desktop.
Save banister/3be7c70afa7dae578336 to your computer and use it in GitHub Desktop.
def hello; proc { return }; end; my_proc = hello; my_proc.call
# => #<LocalJumpError: unexpected return>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment