Skip to content

Instantly share code, notes, and snippets.

@enebo

enebo/a.rb Secret

Created April 27, 2022 16:14
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 enebo/8f9cb8de0960d2e25208861afefe5aaa to your computer and use it in GitHub Desktop.
Save enebo/8f9cb8de0960d2e25208861afefe5aaa to your computer and use it in GitHub Desktop.
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