Created
July 17, 2018 14:02
-
-
Save carlosbaraza/355990f441e5ebfa1f4709083da48349 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 my_method(a, b, c=15, d=35, *p, e) | |
puts ["a: #{a}", | |
"b: #{b}", | |
"c: #{c}", | |
"d: #{d}", | |
"p: #{p.inspect}", | |
"e: #{e}"].join(', ') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment