Skip to content

Instantly share code, notes, and snippets.

@brianstorti
Created April 13, 2012 02:19
Show Gist options
  • Save brianstorti/2373034 to your computer and use it in GitHub Desktop.
Save brianstorti/2373034 to your computer and use it in GitHub Desktop.
def print_name(*args)
first_name, second_name = args.flatten
puts first_name + second_name
end
print_name "Brian", "Storti"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment