-
-
Save vasilakisfil/efddaa5d6143859e3ca1991ab521faf7 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 foo(a: "default A", b: "default B") | |
puts "a: #{a}, b: #{b}" | |
end | |
def call_foo(*args) | |
foo(*args) | |
end | |
call_foo({a: "it's an a!", b: "it's a B"}) | |
call_foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment