Skip to content

Instantly share code, notes, and snippets.

@ConradIrwin
Created July 16, 2012 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ConradIrwin/742ecc9c904b8b181288 to your computer and use it in GitHub Desktop.
Save ConradIrwin/742ecc9c904b8b181288 to your computer and use it in GitHub Desktop.
[1] pry(main)> lambda{ return 1 }[]
=> 1
[2] pry(main)> proc{ return 1 }[]
LocalJumpError: unexpected return
from (pry):2:in `block in __pry__'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment