Skip to content

Instantly share code, notes, and snippets.

@zgfif zgfif/args.rb

Created Dec 26, 2018
Embed
What would you like to do?
def summarize *args
"#{args[0]} #{args[1]} #{args[2]}"
end
p summarize 1,2,3,4,5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.