Created
August 7, 2014 01:25
-
-
Save fdelacruz/d01eaa8ffbacbf4e8c3a 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
| def proc_test | |
| proc = Proc.new { return } | |
| proc.call | |
| puts "Hello world" | |
| end | |
| proc_test # calling proc_test prints nothing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment