Created
May 11, 2019 13:05
-
-
Save stevencch99/75bcc056d5d158af2e870e704031a1c9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double_p = proc { |number| return number * 2} | |
double_p[2] # => LocalJumpError (unexpected return) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment