-
-
Save enebo/8f9cb8de0960d2e25208861afefe5aaa to your computer and use it in GitHub Desktop.
This file contains 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 m(a) | |
a | |
end | |
h = {} | |
p m(**h) #=> argerror (0 for 1) | |
h = {b: 1} | |
p m(**h) #=> {b: 1} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment