Created
August 24, 2018 13:56
-
-
Save mehdi-farsi/c649aa62784921a730d921f97a626b1f 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 yield_without_block | |
yield | |
end | |
yield_without_block # => LocalJumpError (no block given (yield)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment